[FIX] contract: Proper domain for state "in progress"

Previous domain was doing an AND operation over same field (is_auto_renew) with
both False/True, which can't be possible.
This commit is contained in:
Pedro M. Baeza
2020-07-15 17:46:53 +02:00
parent 2cafe7425a
commit 0bd79f93fd
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@
{
'name': 'Recurring - Contracts Management',
'version': '12.0.7.2.3',
'version': '12.0.7.2.4',
'category': 'Contract Management',
'license': 'AGPL-3',
'author': "OpenERP SA, "

View File

@@ -205,8 +205,8 @@ class ContractLine(models.Model):
('date_end', '>=', today),
('date_end', '=', False),
"|",
"&",
('is_auto_renew', '=', True),
"&",
('is_auto_renew', '=', False),
('termination_notice_date', '>', today),
]