Merge lp:~openerp-commiter/openobject-addons/trunk-bug-1000063-hsa into lp:openobject-addons

Proposed by Hardik Sanchawat (OpenERP)
Status: Rejected
Rejected by: Harry (OpenERP)
Proposed branch: lp:~openerp-commiter/openobject-addons/trunk-bug-1000063-hsa
Merge into: lp:openobject-addons
Diff against target: 12 lines (+1/-1)
1 file modified
stock/wizard/stock_partial_picking.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-commiter/openobject-addons/trunk-bug-1000063-hsa
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+113370@code.launchpad.net

Description of the change

Hello,

I fixed this bug lp:1000063

Thanx
-hsa

To post a comment you must log in.
Revision history for this message
Harry (OpenERP) (hmo-tinyerp) wrote :

fixed in another revision.

Thanks

Unmerged revisions

6978. By Hardik Sanchawat (OpenERP)

[FIX] stock : process the stock from Incoming Shipment

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'stock/wizard/stock_partial_picking.py'
2--- stock/wizard/stock_partial_picking.py 2012-05-16 16:01:15 +0000
3+++ stock/wizard/stock_partial_picking.py 2012-07-04 11:12:21 +0000
4@@ -105,7 +105,7 @@
5 # (already seen in previous bug where context passed was containing ir.ui.menu as active_model and the menu
6 # ID as active_id). Though this should be fixed in clients now, this place is sensitive enough to ensure the
7 # consistancy of the context.
8- assert context.get('active_model') in ('stock.picking', 'stock.picking.in', 'stock.picking.out'), 'Bad context propagation'
9+ assert context.get('active_model') in ('stock.picking', 'stock.picking.in', 'stock.picking.out', 'purchase.order'), 'Bad context propagation'
10 picking_id, = picking_ids
11 if 'picking_id' in fields:
12 res.update(picking_id=picking_id)

Subscribers

People subscribed via source and target branches

to all changes: