fix bug
This commit is contained in:
parent
aa82690009
commit
569737350d
@ -6,7 +6,7 @@
|
||||
<field name="model">product.template</field>
|
||||
<field name="inherit_id" ref="stock.product_template_form_view_procurement_button"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//button[@name='action_update_quantity_on_hand' and @type='object' and @string='Update Quantity']" position="attributes">
|
||||
<xpath expr="//button[@name='action_update_quantity_on_hand']" position="attributes">
|
||||
<attribute name="groups">base.group_erp_manager</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
@ -18,7 +18,7 @@
|
||||
<field name="model">product.product</field>
|
||||
<field name="inherit_id" ref="stock.product_form_view_procurement_button"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//button[@name='action_update_quantity_on_hand' and @type='object' and @string='Update Quantity']" position="attributes">
|
||||
<xpath expr="//button[@name='action_update_quantity_on_hand']" position="attributes">
|
||||
<attribute name="groups">base.group_erp_manager</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
@ -30,7 +30,7 @@
|
||||
<field name="model">product.product</field>
|
||||
<field name="inherit_id" ref="stock.product_product_view_form_easy_inherit_stock"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//button[@name='action_update_quantity_on_hand' and @type='object' and @string='Update Quantity']" position="attributes">
|
||||
<xpath expr="//button[@name='action_update_quantity_on_hand']" position="attributes">
|
||||
<attribute name="groups">base.group_erp_manager</attribute>
|
||||
</xpath>
|
||||
</field>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user