Somesh Khare(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/6.1-opw-577163-skh into 
lp:openobject-addons/6.1.

Requested reviews:
  Naresh(OpenERP) (nch-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-577163-skh/+merge/116273

Hello Sir,

[FIX]stock_partial_picking: field production lot not visible in stock partial 
picking wizard if any of the product have tracking enabled.

Steps:
1. Create a new DB, install the "sale" module and enable "extended view"
2. Edit the product "CPU1" and check "Track outgoing lots"
3. Create a new sale order containing 2 sale order lines :
   - one sale order line with CPU1 (has "Track outgoing lots")
   - one sale order line with CPU2 (doesn't have "Track outgoing lots")
4. Confirm the sale order
5. Go to the corresponding delivery order
6. Enter a prodlot for CPU1
7. Click on "Check availability"
8. Click on "Process"
In the pop-up where you are supposed to validate the quantities, the prodlot 
column is NOT displayed.

This branch fixes this issue. Kindly review the branch and share your views on 
it.

Thanks,
Somesh Khare
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-577163-skh/+merge/116273
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.1-opw-577163-skh.
=== modified file 'stock/wizard/stock_partial_picking.py'
--- stock/wizard/stock_partial_picking.py	2012-05-04 17:47:54 +0000
+++ stock/wizard/stock_partial_picking.py	2012-07-23 13:16:15 +0000
@@ -62,7 +62,7 @@
     def _hide_tracking(self, cursor, user, ids, name, arg, context=None):
         res = {}
         for wizard in self.browse(cursor, user, ids, context=context):
-            res[wizard.id] = any([not(x.tracking) for x in wizard.move_ids])
+            res[wizard.id] = not(any([x.tracking for x in wizard.move_ids]))    
         return res
 
     _columns = {

_______________________________________________
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