Skip to content

Commit

Permalink
Merge pull request #588 from ForgeFlow/16.0-fp-555
Browse files Browse the repository at this point in the history
[16.0][IMP] rma: hide picking buttons when count == 0
  • Loading branch information
DavidJForgeFlow authored Feb 20, 2025
2 parents abdec2e + 4d8671b commit f786e2a
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 @@ -93,6 +93,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 @@ -106,6 +107,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 f786e2a

Please sign in to comment.