[FIX]:add access group on button used to update stock on product

lp bug: https://launchpad.net/bugs/699821 fixed

bzr revid: ksa@tinyerp.co.in-20110110122431-cf9yex2fw11fy6lp
This commit is contained in:
ksa (Open ERP) 2011-01-10 17:54:31 +05:30
parent 43cba5ee71
commit cf0da1b7b0
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@
<separator string="Stocks" colspan="4"/>
<field name="qty_available"/>
<button name="%(action_view_change_product_quantity)d" string="Update" attrs="{'invisible': [('type', '=', 'service')]}"
type="action" icon="gtk-execute" groups = "stock.group_stock_manager,base.group_sale_manager,purchase.group_purchase_manager,stock.group_stock_manager,mrp.group_mrp_manager"/>
type="action" icon="gtk-execute" groups = "stock.group_stock_manager,group_stock_user"/>
<newline/>
<field name="virtual_available"/>
</group>