Merge lp:~openerp-dev/openobject-addons/6.1-opw-585251-dhs into lp:openobject-addons/6.1

Proposed by Dhruti Shastri(OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-585251-dhs
Merge into: lp:openobject-addons/6.1
Diff against target: 12 lines (+1/-1)
1 file modified
stock/stock.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-585251-dhs
Reviewer Review Type Date Requested Status
Naresh(OpenERP) Pending
Review via email: mp+146821@code.launchpad.net

Description of the change

This branch contains the fix described on Bug : https://bugs.launchpad.net/openobject-addons/+bug/763439 back-ported from fix for 6.1.

To post a comment you must log in.

Unmerged revisions

7146. By Dhruti Shastri(OpenERP)

[stock] : Chained location: cancelling receptions doesn't cancel all stock moves

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'stock/stock.py'
2--- stock/stock.py 2012-10-22 09:29:02 +0000
3+++ stock/stock.py 2013-02-06 11:01:24 +0000
4@@ -2083,7 +2083,7 @@
5 if move.picking_id:
6 pickings[move.picking_id.id] = True
7 if move.move_dest_id and move.move_dest_id.state == 'waiting':
8- self.write(cr, uid, [move.move_dest_id.id], {'state': 'assigned'})
9+ self.write(cr, uid, [move.move_dest_id.id], {'state': 'confirmed'})
10 if context.get('call_unlink',False) and move.move_dest_id.picking_id:
11 wf_service = netsvc.LocalService("workflow")
12 wf_service.trg_write(uid, 'stock.picking', move.move_dest_id.picking_id.id, cr)