summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addons/stock/product_view.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/stock/product_view.xml b/addons/stock/product_view.xml
index 9f6c34528fd..00c26503714 100644
--- a/addons/stock/product_view.xml
+++ b/addons/stock/product_view.xml
@@ -199,11 +199,11 @@
<button string="Update Qty On Hand"
type="action"
name="%(action_view_change_product_quantity)d"
- attrs="{'invisible': [('type', '!=', 'consu')]}"/>
+ attrs="{'invisible': [('type', '!=', 'product')]}"/>
<button string="Procurement Request"
type="action"
name="%(stock.act_make_procurement)d"
- attrs="{'invisible': [('type', '!=', 'consu')]}"/>
+ attrs="{'invisible': [('type', '!=', 'product')]}"/>
</header>
<div name="button_box" position="inside">
<button class="oe_stat_button"