mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[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:
@@ -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),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user