[IMP]pos tab in user will show edit button only in edit form and change string of form and help
bzr revid: sgo@tinyerp.com-20121105131121-umf8viq2gy1mf3p9
This commit is contained in:
parent
2d42b35fba
commit
8f83c2194b
|
@ -1059,7 +1059,7 @@
|
|||
<field name="arch" type="xml">
|
||||
<form string="Ean13 Generator" version="7.0">
|
||||
<p class="oe_grey">
|
||||
Enter a reference for this product, it will be converted
|
||||
Enter a reference, it will be converted
|
||||
automatically to a valid EAN number.
|
||||
</p>
|
||||
<group>
|
||||
|
|
|
@ -19,7 +19,7 @@ class res_users(osv.osv):
|
|||
|
||||
def edit_ean(self, cr, uid, ids, context):
|
||||
return {
|
||||
'name': "Edit Ean",
|
||||
'name': "Edit EAN",
|
||||
'type': 'ir.actions.act_window',
|
||||
'view_type': 'form',
|
||||
'view_mode': 'form',
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<group>
|
||||
<field name="pos_config" />
|
||||
<field name="ean13" />
|
||||
<button name="edit_ean" type="object" string="Edit" />
|
||||
<button name="edit_ean" type="object" string="Edit EAN" class="oe_edit_only" />
|
||||
</group>
|
||||
</page>
|
||||
</notebook>
|
||||
|
|
Loading…
Reference in New Issue