diff --git a/contract_forecast/models/contract_line.py b/contract_forecast/models/contract_line.py index a2b61b94..e6a8a2de 100644 --- a/contract_forecast/models/contract_line.py +++ b/contract_forecast/models/contract_line.py @@ -106,7 +106,7 @@ class AccountAnalyticInvoiceLine(models.Model): def create(self, values): contract_lines = super(AccountAnalyticInvoiceLine, self).create(values) for contract_line in contract_lines: - contract_line._generate_forecast_periods() + contract_line.with_delay()._generate_forecast_periods() return contract_lines @api.model