[Fix] correct typo in button names: Move => Moves, Purchase => Purchases
bzr revid: vja@tinyerp.com-20130221095934-rrvakpyklngu37sz
This commit is contained in:
parent
289dd74646
commit
efd26394f8
|
@ -616,7 +616,7 @@
|
|||
<field name="inherit_id" ref="account.product_normal_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[@name='buttons']" position="inside">
|
||||
<button string="Purchase" name="%(action_purchase_line_product_tree)d" type="action" groups="purchase.group_purchase_user"/>
|
||||
<button string="Purchases" name="%(action_purchase_line_product_tree)d" type="action" groups="purchase.group_purchase_user"/>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='property_account_expense']" position="replace" >
|
||||
<field name="property_account_expense" domain="[('type','<>','view'),('type','<>','consolidation')]" attrs="{'readonly':[('purchase_ok','=',0)]}" groups="account.group_account_user"/>
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[@name='buttons']" position="inside">
|
||||
<button string="Stock by Location" name="%(action_product_location_tree)d" type="action" attrs="{'invisible':[('type', '!=', 'product')]}" groups="stock.group_locations"/>
|
||||
<button string="Move" name= "%(act_product_stock_move_open)d" type="action" attrs="{'invisible':[('type', '!=', 'product')]}" groups="stock.group_stock_user"/>
|
||||
<button string="Moves" name= "%(act_product_stock_move_open)d" type="action" attrs="{'invisible':[('type', '!=', 'product')]}" groups="stock.group_stock_user"/>
|
||||
</xpath>
|
||||
<group name="procurement_uom" position="before">
|
||||
<group name="delay" string="Delays">
|
||||
|
|
Loading…
Reference in New Issue