Browse Source

[12.0][FIX] - change deprecated attribute

pull/283/head
sbejaoui 5 years ago
parent
commit
1832c2a5bb
  1. 2
      contract_forecast/models/contract.py

2
contract_forecast/models/contract.py

@ -37,6 +37,6 @@ class ContractContract(models.Model):
] ]
): ):
for rec in self: for rec in self:
for contract_line in rec.recurring_invoice_line_ids:
for contract_line in rec.contract_line_ids:
contract_line.with_delay()._generate_forecast_periods() contract_line.with_delay()._generate_forecast_periods()
return res return res
Loading…
Cancel
Save