[FIX] - renew only recurring_invoices contract

This commit is contained in:
sbejaoui
2019-01-04 13:46:43 +01:00
committed by Francisco Ivan Anton Prieto
parent 4e359d38c4
commit 5ffb2cffd8

View File

@@ -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