Skip to content

Commit

Permalink
[IMP] rma: search by rma origin and add state filters
Browse files Browse the repository at this point in the history
  • Loading branch information
sbejaoui committed Oct 8, 2024
1 parent 6ad69b9 commit 6adab5b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions rma/views/rma_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,25 @@
<field name="arch" type="xml">
<search>
<field name="name" />
<field name="origin" />
<field name="user_id" />
<field name="tag_ids" />
<filter
string="Awaiting Action"
name="waiting_action"
domain="[('state', 'in', ['waiting_return', 'waiting_replacement', 'confirmed'])]"
/>
<filter
string="Processed"
name="processed"
domain="[('state', 'in', ['received', 'refunded', 'replaced', 'finished'])]"
/>
<filter
string="Closed"
name="closed"
domain="[('state', 'in', ['locked', 'cancelled'])]"
/>
<separator />
<filter
name="draft_filter"
string="Draft"
Expand Down

0 comments on commit 6adab5b

Please sign in to comment.