[IMP] product view
bzr revid: fp@tinyerp.com-20120831164018-b8m7xhxi2na5eraj
This commit is contained in:
parent
349c24a1cd
commit
33897328bc
|
@ -1242,7 +1242,7 @@ import io, StringIO
|
|||
class ean_wizard(osv.osv_memory):
|
||||
_name = 'pos.ean_wizard'
|
||||
_columns = {
|
||||
'ean13_pattern': fields.char('Ean13 Pattern', size=32, required=True, translate=True),
|
||||
'ean13_pattern': fields.char('Reference', size=32, required=True, translate=True),
|
||||
}
|
||||
def sanitize_ean13(self, cr, uid, ids, context):
|
||||
for r in self.browse(cr,uid,ids):
|
||||
|
|
|
@ -1074,7 +1074,7 @@
|
|||
automatically to a valid EAN number.
|
||||
</p>
|
||||
<group>
|
||||
<field name="ean13_pattern"/>
|
||||
<field name="ean13_pattern" class="oe_inline"/>
|
||||
</group>
|
||||
<footer>
|
||||
<button name="sanitize_ean13" type="object" string="Apply" class="oe_highlight"/> or
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
<field name="model">product.product</field>
|
||||
<field name="inherit_id" ref="stock.view_normal_procurement_locations_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="active" position="after">
|
||||
<field name="project_id" attrs="{'readonly':[('type','!=','service')]}" />
|
||||
<field name="type" position="after">
|
||||
<field name="project_id" attrs="{'invisible':[('type','!=','service')]}" />
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
|
Loading…
Reference in New Issue