Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
14
stock_picking_invoicing/models/stock_rule.py
Normal file
14
stock_picking_invoicing/models/stock_rule.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user