[IMP] Default Supply Method shoud be on m2p product_id on MO

Merged lp:~openerp-dev/openobject-addons/trunk-addons7-supplymethod-aja

bzr revid: jam@tinyerp.com-20120830131820-l0ygwj9sjd6snmvf
This commit is contained in:
Jigar Amin - OpenERP 2012-08-30 18:48:20 +05:30
commit 64921f7e62
1 changed files with 1 additions and 1 deletions

View File

@ -649,7 +649,7 @@
<sheet>
<label for="product_id" class="oe_edit_only"/>
<h1>
<field name="product_id" on_change="product_id_change(product_id)" domain="[('bom_ids','&lt;&gt;',False),('bom_ids.bom_id','=',False)]" class="oe_inline"/>
<field name="product_id" on_change="product_id_change(product_id)" domain="[('bom_ids','&lt;&gt;',False),('bom_ids.bom_id','=',False)]" context="{'default_supply_method':'produce'}" class="oe_inline"/>
</h1>
<label for="product_qty" class="oe_edit_only"/>
<h2>