Browse Source

[FIX] - renew only recurring_invoices contract

pull/207/head
sbejaoui 6 years ago
parent
commit
bd20208c70
  1. 1
      contract/models/contract_line.py

1
contract/models/contract_line.py

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

Loading…
Cancel
Save