Pinakin Nayi (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.1-opw-582760-pna into 
lp:openobject-addons/6.1.

Requested reviews:
  Naresh(OpenERP) (nch-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-582760-pna/+merge/138905

Hello,
 I improved source and destination location field set default in MO.
 
To reproduce :

In a manufacturing orders, if I create (manually) a new line of products to 
consume, the source location and destination location aren’t fill.
Normally, it should be filled by the source and destination location of the 
manufacturing order.

Thanks,
pna
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-582760-pna/+merge/138905
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.1-opw-582760-pna.
=== modified file 'mrp/mrp_view.xml'
--- mrp/mrp_view.xml	2012-10-05 07:47:57 +0000
+++ mrp/mrp_view.xml	2012-12-10 05:49:18 +0000
@@ -655,7 +655,7 @@
                             <separator string="" colspan="4"/>
 
                             <field colspan="2" name="move_lines" nolabel="1" widget="one2many_list"
-                                mode="tree,form" height="275" domain="[('state','&lt;&gt;', ('done', 'cancel'))]">
+                                mode="tree,form" height="275" domain="[('state','&lt;&gt;', ('done', 'cancel'))]" context="{'default_location_id': location_src_id,'default_location_dest_id':location_dest_id}">
                                 <tree colors="blue:state == 'draft';black:state in ('picking_except','confirmed','ready','in_production');gray:state in ('cancel','done') " string="Products to Consume">
                                     <field name="product_id" />
                                     <field name="product_qty"  string="Qty"/>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : openerp-dev-gtk@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to