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:
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': 'Recurring - Contracts Management',
|
'name': 'Recurring - Contracts Management',
|
||||||
'version': '12.0.7.2.3',
|
'version': '12.0.7.2.4',
|
||||||
'category': 'Contract Management',
|
'category': 'Contract Management',
|
||||||
'license': 'AGPL-3',
|
'license': 'AGPL-3',
|
||||||
'author': "OpenERP SA, "
|
'author': "OpenERP SA, "
|
||||||
|
|||||||
@@ -205,8 +205,8 @@ class ContractLine(models.Model):
|
|||||||
('date_end', '>=', today),
|
('date_end', '>=', today),
|
||||||
('date_end', '=', False),
|
('date_end', '=', False),
|
||||||
"|",
|
"|",
|
||||||
"&",
|
|
||||||
('is_auto_renew', '=', True),
|
('is_auto_renew', '=', True),
|
||||||
|
"&",
|
||||||
('is_auto_renew', '=', False),
|
('is_auto_renew', '=', False),
|
||||||
('termination_notice_date', '>', today),
|
('termination_notice_date', '>', today),
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user