[IMP]Changes in event_sale_view and purchase_requisition as per changes in supply_method

bzr revid: dhr@tinyerp.com-20120821084350-487odxa5rk2k9nze
This commit is contained in:
Dharti Ratani (OpenERP) 2012-08-21 14:13:50 +05:30
parent 6f28fde4ae
commit 95517df97c
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
<field name="purchase_ok" position="after">
<field name="event_ok" on_change="onchange_event_ok(event_ok, context)"/>
</field>
<field name='supply_method' position='after'>
<field name='procure_method' position='before'>
<field name="event_type_id" attrs="{'readonly': [('event_ok', '=', False)]}"/>
</field>
</field>

View File

@ -182,7 +182,7 @@
<field name="model">product.product</field>
<field name="inherit_id" ref="product.product_normal_form_view"/>
<field name="arch" type="xml">
<field name="supply_method" position="after">
<field name="procure_method" position="before">
<group colspan="2" col="2" attrs="{'invisible': [('supply_method','&lt;&gt;','buy')]}">
<field name="purchase_requisition"/>
</group>