Merge lp:~openerp-dev/openobject-addons/trunk-bug-1104766-hip into lp:openobject-addons

Proposed by Hiral Patel (OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-1104766-hip
Merge into: lp:openobject-addons
Diff against target: 11 lines (+1/-1)
1 file modified
stock/wizard/stock_return_picking.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-1104766-hip
Reviewer Review Type Date Requested Status
Ajay Patel (OpenERP) (community) Approve
OpenERP Core Team Pending
Review via email: mp+144917@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Ajay Patel (OpenERP) (ajay-openerp) wrote :

seems ok..

Thanks,
Amit

review: Approve

Unmerged revisions

8518. By Hiral Patel (OpenERP)

[trunk][FIX] Product Return Canceled

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'stock/wizard/stock_return_picking.py'
2--- stock/wizard/stock_return_picking.py 2012-12-18 17:55:47 +0000
3+++ stock/wizard/stock_return_picking.py 2013-01-25 12:40:31 +0000
4@@ -128,7 +128,7 @@
5 # a valid return move will be the exact opposite of ours:
6 # (src location, dest location) <=> (dest location, src location))
7 if rec.location_dest_id.id == m.location_id.id \
8- and rec.location_id.id == m.location_dest_id.id:
9+ and rec.location_id.id == m.location_dest_id.id and rec.state != 'cancel':
10 return_history[m.id] += (rec.product_qty * rec.product_uom.factor)
11 return return_history
12

Subscribers

People subscribed via source and target branches

to all changes: