mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[17.0][IMP] contract: solve error for last_date_invoiced field
This commit is contained in:
@@ -516,6 +516,7 @@ class ContractContract(models.Model):
|
||||
not contract_line.is_canceled
|
||||
and contract_line.recurring_next_date
|
||||
and contract_line.recurring_next_date <= date_ref
|
||||
and contract_line.next_period_date_start
|
||||
)
|
||||
|
||||
lines2invoice = previous = self.env["contract.line"]
|
||||
|
||||
Reference in New Issue
Block a user