mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
@@ -212,7 +212,7 @@
|
|||||||
<separator/>
|
<separator/>
|
||||||
<filter name="not_finished"
|
<filter name="not_finished"
|
||||||
string="In progress"
|
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"
|
<filter name="finished"
|
||||||
string="Finished"
|
string="Finished"
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
<filter
|
<filter
|
||||||
name="filter_running_contract"
|
name="filter_running_contract"
|
||||||
string="With running contracts"
|
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>
|
</filter>
|
||||||
</field>
|
</field>
|
||||||
|
|||||||
Reference in New Issue
Block a user