2
0
account-financial-tools/account_move_fiscal_year/models/account_move_line.py
Fekete Mihai 9610ef3bce
Migrate account_move_fiscal_year.
Remove store
2023-08-04 08:52:31 +02:00

14 lines
334 B
Python

# Copyright 2017 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class AccountMoveLine(models.Model):
_inherit = 'account.move.line'
date_range_fy_id = fields.Many2one(
related='move_id.date_range_fy_id', readonly=True,
store=True, copy=False)