Kirti Savalia(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-911094-ksa into 
lp:openobject-addons.

Requested reviews:
  Rucha (Open ERP) (rpa-openerp)
Related bugs:
  Bug #911094 in OpenERP Addons: "duplicate picking created from sale history"
  https://bugs.launchpad.net/openobject-addons/+bug/911094

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-911094-ksa/+merge/87345
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-911094-ksa/+merge/87345
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-911094-ksa.
=== modified file 'stock/wizard/stock_partial_picking.py'
--- stock/wizard/stock_partial_picking.py	2011-12-29 16:36:45 +0000
+++ stock/wizard/stock_partial_picking.py	2012-01-03 12:58:26 +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','new','confirmed') 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