2017-07-06 09:41:05 +02:00
|
|
|
# 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_fm_id = fields.Many2one(
|
2018-03-17 16:43:55 +01:00
|
|
|
related='move_id.date_range_fm_id', readonly=True,
|
|
|
|
store=True, copy=False)
|