mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
@@ -212,7 +212,7 @@
|
||||
<separator/>
|
||||
<filter name="not_finished"
|
||||
string="In progress"
|
||||
domain="['|', ('date_end', '>=', context_today().strftime('%Y-%m-%d')), ('date_end', '=', False)]"
|
||||
domain="['|', ('date_end', '>=', context_today().strftime('%Y-%m-%d')), '&', ('date_end', '=', False), ('recurring_next_date', '!=', False)]"
|
||||
/>
|
||||
<filter name="finished"
|
||||
string="Finished"
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
<filter
|
||||
name="filter_running_contract"
|
||||
string="With running contracts"
|
||||
domain="['|', ('contract_ids.date_end', '>=', context_today().strftime('%Y-%m-%d')), ('contract_ids.date_end', '=', False)]"
|
||||
domain="['|', ('contract_ids.date_end', '>=', context_today().strftime('%Y-%m-%d')), '&', ('contract_ids.date_end', '=', False), ('contract_ids.recurring_next_date', '!=', False)]"
|
||||
/>
|
||||
</filter>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user