Skip to content

Commit

Permalink
Merge pull request #587 from ForgeFlow/15.0-fp-555
Browse files Browse the repository at this point in the history
[15.0][IMP] rma: hide picking buttons when count == 0
  • Loading branch information
DavidJForgeFlow authored Feb 20, 2025
2 parents 6e2e821 + 4d4b0c9 commit 1a49e4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rma/views/rma_order_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
class="oe_stat_button"
icon="fa-truck"
groups="stock.group_stock_user"
attrs="{'invisible': [('in_shipment_count', '=', 0)]}"
>
<field
name="in_shipment_count"
Expand All @@ -53,6 +54,7 @@
class="oe_stat_button"
icon="fa-truck"
groups="stock.group_stock_user"
attrs="{'invisible': [('out_shipment_count', '=', 0)]}"
>
<field
name="out_shipment_count"
Expand Down

0 comments on commit 1a49e4b

Please sign in to comment.