mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX] - renew only recurring_invoices contract
This commit is contained in:
committed by
Francisco Ivan Anton Prieto
parent
4e359d38c4
commit
5ffb2cffd8
@@ -850,6 +850,7 @@ class AccountAnalyticInvoiceLine(models.Model):
|
|||||||
('is_auto_renew', '=', True),
|
('is_auto_renew', '=', True),
|
||||||
('date_end', '<=', date_ref),
|
('date_end', '<=', date_ref),
|
||||||
('is_canceled', '=', False),
|
('is_canceled', '=', False),
|
||||||
|
('contract_id.recurring_invoices', '=', True),
|
||||||
]
|
]
|
||||||
|
|
||||||
@api.model
|
@api.model
|
||||||
|
|||||||
Reference in New Issue
Block a user