mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
Hide smart button when empty
This commit is contained in:
committed by
Carlos Vallés Fuster
parent
b96eff7aac
commit
fc1cde6336
@@ -93,6 +93,7 @@
|
||||
name="action_view_in_shipments"
|
||||
class="oe_stat_button"
|
||||
icon="fa-truck"
|
||||
attrs="{'invisible': [('in_shipment_count', '=', 0)]}"
|
||||
groups="stock.group_stock_user"
|
||||
>
|
||||
<field
|
||||
@@ -106,6 +107,7 @@
|
||||
name="action_view_out_shipments"
|
||||
class="oe_stat_button"
|
||||
icon="fa-truck"
|
||||
attrs="{'invisible': [('out_shipment_count', '=', 0)]}"
|
||||
groups="stock.group_stock_user"
|
||||
>
|
||||
<field
|
||||
@@ -126,6 +128,7 @@
|
||||
class="oe_stat_button"
|
||||
icon="fa-link"
|
||||
groups="stock.group_stock_user"
|
||||
attrs="{'invisible': [('rma_line_count', '=', 0)]}"
|
||||
>
|
||||
<field
|
||||
name="rma_line_count"
|
||||
|
||||
Reference in New Issue
Block a user