[FIX] purchase_view move readonly from label to field

bzr revid: al@openerp.com-20140126195246-11vhbgasqq7p6kap
This commit is contained in:
Antony Lesuisse
2014-01-26 20:52:46 +01:00
parent fe59f115c0
commit 4916f258c7
+2 -3
View File
@@ -551,9 +551,8 @@
<field name="inherit_id" ref="product.product_normal_form_view"/>
<field name="arch" type="xml">
<div name="options" position="inside">
<field name="purchase_ok"/>
<label for="purchase_ok"
attrs="{'readonly': [('is_only_child', '=', False)]}"/>
<field name="purchase_ok" attrs="{'readonly': [('is_only_child', '=', False)]}"/>
<label for="purchase_ok"/>
</div>
<group name="procurement" position="after">
<separator string="Suppliers"/>