Merge lp:~unifield-team/unifield-server/us-1058 into lp:unifield-server

Proposed by jftempo
Status: Merged
Merged at revision: 3911
Proposed branch: lp:~unifield-team/unifield-server/us-1058
Merge into: lp:unifield-server
Diff against target: 12 lines (+1/-1)
1 file modified
bin/addons/sourcing/procurement_order.py (+1/-1)
To merge this branch: bzr merge lp:~unifield-team/unifield-server/us-1058
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+302437@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/addons/sourcing/procurement_order.py'
2--- bin/addons/sourcing/procurement_order.py 2016-05-26 08:58:45 +0000
3+++ bin/addons/sourcing/procurement_order.py 2016-08-09 15:33:39 +0000
4@@ -110,7 +110,7 @@
5 order_line_ids = self.pool.get('sale.order.line').search(cr, uid, [('procurement_id', '=', kwargs['procurement'].id)])
6 if order_line_ids:
7 origin_line = self.pool.get('sale.order.line').browse(cr, uid, order_line_ids[0])
8- line.update({'origin': origin_line.order_id.name, 'product_uom': origin_line.product_uom.id, 'product_qty': origin_line.product_uom_qty})
9+ line.update({'origin': origin_line.order_id.name})
10 else:
11 # Update the link to the original FO to create new line on it at PO confirmation
12 procurement = kwargs['procurement']

Subscribers

People subscribed via source and target branches

to all changes: