mirror of
https://github.com/bringout/oca-financial.git
synced 2026-04-27 00:02:07 +02:00
14 lines
418 B
Python
14 lines
418 B
Python
# Copyright (C) 2024-Today - Akretion (<http://www.akretion.com>).
|
|
# @author Magno Costa <magno.costa@akretion.com.br>
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import models
|
|
|
|
|
|
class StockRule(models.Model):
|
|
_inherit = "stock.rule"
|
|
|
|
def _get_custom_move_fields(self):
|
|
fields = super()._get_custom_move_fields()
|
|
fields += ["invoice_state"]
|
|
return fields
|