# 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(
        related='move_id.date_range_fm_id',
        store=True, copy=False)

# 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(
        related='move_id.date_range_fm_id',
    )

Remove unneeded and inefficient "store=True"