We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05a81ff commit 596ce1cCopy full SHA for 596ce1c
rma_sale/views/rma_order_view.xml
@@ -12,7 +12,7 @@
12
class="oe_stat_button"
13
icon="fa-pencil-square-o"
14
groups="sales_team.group_sale_salesman"
15
- invisible="type != 'customer'"
+ invisible="type != 'customer' or sale_count == 0"
16
>
17
<field name="sale_count" widget="statinfo" string="Origin SO" />
18
</button>
0 commit comments