ajay javiya (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-addons7-supplymethod-aja into 
lp:~openerp-dev/openobject-addons/trunk-addons7.

Requested reviews:
  Jigar Amin  (OpenERP) (jam-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-addons7-supplymethod-aja/+merge/122060

Hello,
when creating a product from a manufacturing order, the default "supply method" 
change to "Produce".
Thanks
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-addons7-supplymethod-aja/+merge/122060
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-addons7.
=== modified file 'mrp/mrp_view.xml'
--- mrp/mrp_view.xml	2012-08-30 09:23:21 +0000
+++ mrp/mrp_view.xml	2012-08-30 13:08:23 +0000
@@ -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>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to