Browse Source

[IMP] - Improve inprogress search filter

13.0-mig-contract
sbejaoui 6 years ago
committed by Administrator
parent
commit
f6696d0185
  1. 8
      contract/views/contract.xml

8
contract/views/contract.xml

@ -194,17 +194,17 @@
/> />
<separator/> <separator/>
<filter name="not_finished" <filter name="not_finished"
string="Valid"
domain="['|', ('date_end', '=', False), ('date_end', '&gt;=', time.strftime('%Y-%m-%d'))]"
string="In progress"
domain="[('recurring_next_date', '&gt;=', time.strftime('%Y-%m-%d'))]"
/> />
<filter name="finished" <filter name="finished"
string="Finished" string="Finished"
domain="[('date_end', '&lt;', time.strftime('%Y-%m-%d'))]"
domain="[('date_end', '&lt;', time.strftime('%Y-%m-%d')), ('recurring_next_date', '=', False)]"
/> />
<group expand="0" string="Group By..."> <group expand="0" string="Group By...">
<filter name="next_invoice" <filter name="next_invoice"
string="Next Invoice" string="Next Invoice"
domain="[]"
domain="[('recurring_next_date', '&gt;=', time.strftime('%Y-%m-%d'))]"
context="{'group_by':'recurring_next_date'}" context="{'group_by':'recurring_next_date'}"
/> />
<filter name="date_end" <filter name="date_end"

Loading…
Cancel
Save