[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

@@ -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),
]