[MERGE] [FIX] Usability fix for purchase/product

Set the field property_product_pricelist_purchase in the group_purchase_pricelist

bzr revid: tde@openerp.com-20130612161652-amuzokktzclbuw49
This commit is contained in:
Thibault Delavallée
2013-06-12 18:16:52 +02:00
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -8,8 +8,8 @@
<field name="arch" type="xml">
<page string="Sales &amp; Purchases" position="inside">
<group>
<group name="pricelists" groups="product.group_sale_pricelist" attrs="{'invisible': [('is_company','=',False),('parent_id','!=',False)]}">
<field name="property_product_pricelist"/>
<group name="pricelists" attrs="{'invisible': [('is_company','=',False),('parent_id','!=',False)]}">
<field name="property_product_pricelist" groups="product.group_sale_pricelist"/>
</group>
<div name="parent_pricelists" groups="product.group_sale_pricelist" attrs="{'invisible': ['|',('is_company','=',True),('parent_id','=',False)]}">
<p>Pricelists are managed on <button name="open_commercial_entity" type="object" string="the parent company" class="oe_link"/></p>
+1 -1
View File
@@ -8,7 +8,7 @@
<field name="priority">36</field>
<field name="arch" type="xml">
<field name="property_product_pricelist" position="after">
<field name="property_product_pricelist_purchase" />
<field name="property_product_pricelist_purchase" groups="product.group_purchase_pricelist"/>
</field>
</field>
</record>