diff --git a/contract/models/contract_line.py b/contract/models/contract_line.py index 7c026898a4..4b324b7254 100644 --- a/contract/models/contract_line.py +++ b/contract/models/contract_line.py @@ -609,7 +609,7 @@ def _update_recurring_next_date(self, invoicing_date=False): for rec in self: last_date_invoiced = rec.next_period_date_end if invoicing_date: - last_date_invoiced = self.get_next_period_date_end( + last_date_invoiced = rec.get_next_period_date_end( invoicing_date, rec.recurring_rule_type, rec.recurring_interval,