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
|
||||
string="Unresolved RMAs"
|
||||
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"
|
||||
/>
|
||||
<filter
|
||||
string="Late RMAs"
|
||||
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"
|
||||
/>
|
||||
<separator />
|
||||
|
||||
Reference in New Issue
Block a user