Atik Agewan(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-833770-aag into 
lp:openobject-addons.

Requested reviews:
  Rucha (Open ERP) (rpa-openerp)
Related bugs:
  Bug #833770 in OpenERP Addons: "Stock -> Partial Picking Wizard: 
Non-available move lines shouldn't be shown in partial picking"
  https://bugs.launchpad.net/openobject-addons/+bug/833770

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-833770-aag/+merge/73340


 Hello,
  
   STOCK:Partial Picking Wizard -Available move lines are shown in partial 
picking.

 Thanks,
  Atik
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-833770-aag/+merge/73340
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-833770-aag.
=== modified file 'stock/wizard/stock_partial_picking.py'
--- stock/wizard/stock_partial_picking.py	2011-05-02 18:46:43 +0000
+++ stock/wizard/stock_partial_picking.py	2011-08-30 09:00:23 +0000
@@ -67,7 +67,8 @@
             for m in pick.move_lines:
                 if m.state in ('done', 'cancel'):
                     continue
-                result.append(self.__create_partial_picking_memory(m, pick_type))
+                if m.state == 'assigned':
+                    result.append(self.__create_partial_picking_memory(m, pick_type))
                 
         if 'product_moves_in' in fields:
             res.update({'product_moves_in': result})
@@ -101,7 +102,6 @@
         _moves_fields.update({
                             'product_moves_' + picking_type: {'relation': 'stock.move.memory.'+picking_type, 'type' : 'one2many', 'string' : 'Product Moves'}, 
                             })
-
         _moves_arch_lst += """
                 <separator string="" colspan="4" />
                 <label string="" colspan="2"/>

_______________________________________________
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