Skip to content

Commit

Permalink
[FIX] rma: unresolved and late filters
Browse files Browse the repository at this point in the history
Included finished state to discard those manually finished RMAs

TT47471
  • Loading branch information
chienandalu committed Jan 30, 2024
1 parent 2d88fa7 commit e3d48ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rma/views/rma_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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', '&lt;', context_today().strftime('%Y-%m-%d')), ('state', 'not in', ['refunded', 'returned', 'replaced', 'locked', 'cancelled'])]"
domain="[('deadline', '&lt;', context_today().strftime('%Y-%m-%d')), ('state', 'not in', ['refunded', 'returned', 'replaced', 'locked', 'cancelled', 'finished'])]"
help="RMAs which deadline has passed"
/>
<separator />
Expand Down

0 comments on commit e3d48ab

Please sign in to comment.