Mayur Maheshwari(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-937080-mma into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #937080 in OpenERP Addons: "Stock: can't add a line to a confirmed 
picking"
  https://bugs.launchpad.net/openobject-addons/+bug/937080

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-937080-mma/+merge/94118

Hello


      Stock: I have passed right state when partial picking

Thanks.
mma
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-937080-mma/+merge/94118
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-937080-mma.
=== modified file 'stock/wizard/stock_partial_picking.py'
--- stock/wizard/stock_partial_picking.py	2012-01-31 13:36:57 +0000
+++ stock/wizard/stock_partial_picking.py	2012-02-22 10:52:19 +0000
@@ -111,7 +111,7 @@
     def _partial_move_for(self, cr, uid, move):
         partial_move = {
             'product_id' : move.product_id.id,
-            'quantity' : move.state in ('assigned','new') and move.product_qty or 0,
+            'quantity' : move.state in ('assigned','draft') and move.product_qty or 0,
             'product_uom' : move.product_uom.id,
             'prodlot_id' : move.prodlot_id.id,
             'move_id' : move.id,

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to