mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
[FIX] rma: unresolved and late filters
Included finished state to discard those manually finished RMAs TT47471
This commit is contained in:
@@ -30,13 +30,13 @@
|
|||||||
<filter
|
<filter
|
||||||
string="Unresolved RMAs"
|
string="Unresolved RMAs"
|
||||||
name="undone_rma"
|
name="undone_rma"
|
||||||
domain="[('state', 'not in', ['refunded', 'returned', 'replaced', 'locked', 'cancelled'])]"
|
domain="[('state', 'not in', ['refunded', 'returned', 'replaced', 'locked', 'cancelled', 'finished'])]"
|
||||||
help="RMAs yet to be fully processed"
|
help="RMAs yet to be fully processed"
|
||||||
/>
|
/>
|
||||||
<filter
|
<filter
|
||||||
string="Late RMAs"
|
string="Late RMAs"
|
||||||
name="late_rma"
|
name="late_rma"
|
||||||
domain="[('deadline', '<', context_today().strftime('%Y-%m-%d')), ('state', 'not in', ['refunded', 'returned', 'replaced', 'locked', 'cancelled'])]"
|
domain="[('deadline', '<', context_today().strftime('%Y-%m-%d')), ('state', 'not in', ['refunded', 'returned', 'replaced', 'locked', 'cancelled', 'finished'])]"
|
||||||
help="RMAs which deadline has passed"
|
help="RMAs which deadline has passed"
|
||||||
/>
|
/>
|
||||||
<separator />
|
<separator />
|
||||||
|
|||||||
Reference in New Issue
Block a user