[IMP] stock: get back Update Quantity button
Get back the "Update Quantity" button on product views. Task #2006337
This commit is contained in:
@@ -172,6 +172,9 @@
|
||||
<field name="arch" type="xml">
|
||||
<sheet position="before">
|
||||
<header>
|
||||
<button string="Update Quantity" type="object"
|
||||
name="action_open_quants"
|
||||
attrs="{'invisible': [('type', '!=', 'product')]}"/>
|
||||
<button string="Replenish" type="action"
|
||||
name="%(action_product_replenish)d"
|
||||
context="{'default_product_id': id}"
|
||||
@@ -197,6 +200,9 @@
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<header position="inside">
|
||||
<button string="Update Quantity" type="object"
|
||||
name="action_open_quants"
|
||||
attrs="{'invisible': [('type', '!=', 'product')]}"/>
|
||||
<button string="Replenish" type="action"
|
||||
name="%(action_product_replenish)d"
|
||||
context="{'default_product_id': id}"
|
||||
@@ -287,6 +293,9 @@
|
||||
<field name="arch" type="xml">
|
||||
<data>
|
||||
<header position="inside" >
|
||||
<button string="Update Quantity" type="object"
|
||||
name="action_open_quants"
|
||||
attrs="{'invisible': [('type', '!=', 'product')]}"/>
|
||||
<button string="Replenish" type="action"
|
||||
name="%(action_product_replenish)d"
|
||||
context="{'default_product_tmpl_id': id}"
|
||||
|
||||
Reference in New Issue
Block a user