Merge lp:~openerp-dev/openobject-addons/6.1-opw-582760-pna into lp:openobject-addons/6.1

Proposed by Pinakin Nayi (OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-582760-pna
Merge into: lp:openobject-addons/6.1
Diff against target: 12 lines (+1/-1)
1 file modified
mrp/mrp_view.xml (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-582760-pna
Reviewer Review Type Date Requested Status
Naresh(OpenERP) Pending
Review via email: mp+138905@code.launchpad.net

Description of the change

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

To post a comment you must log in.

Unmerged revisions

7096. By Pinakin Nayi (OpenERP)

[MERGE]with main branch

7095. By Pinakin Nayi (OpenERP)

[FIX]mrp:set default source and destination location in product consume as per MO

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'mrp/mrp_view.xml'
2--- mrp/mrp_view.xml 2012-10-05 07:47:57 +0000
3+++ mrp/mrp_view.xml 2012-12-10 05:49:18 +0000
4@@ -655,7 +655,7 @@
5 <separator string="" colspan="4"/>
6
7 <field colspan="2" name="move_lines" nolabel="1" widget="one2many_list"
8- mode="tree,form" height="275" domain="[('state','&lt;&gt;', ('done', 'cancel'))]">
9+ 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}">
10 <tree colors="blue:state == 'draft';black:state in ('picking_except','confirmed','ready','in_production');gray:state in ('cancel','done') " string="Products to Consume">
11 <field name="product_id" />
12 <field name="product_qty" string="Qty"/>