mirror of
https://github.com/bringout/oca-financial.git
synced 2026-04-23 01:02:01 +02:00
11 lines
332 B
Python
11 lines
332 B
Python
# Copyright 2024 Atte Isopuro <atte.isopuro@avoin.systems>
|
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
|
|
|
from odoo import models
|
|
|
|
|
|
class StockRule(models.Model):
|
|
_inherit = "stock.rule"
|
|
|
|
def _get_custom_move_fields(self):
|
|
return super()._get_custom_move_fields() + ["analytic_distribution"]
|