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