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

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

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-574681-skh/+merge/105180

Hello Sir,

[Fix]: Backported the fix from the trunk for scrap in incoming shipment, source 
location wrong.

Source location for the scrap should be supplier location, currently it takes 
the Stock location because it affects to real stock which should not. With this 
fix the Source location in the stock move will be Supplier location instead of 
Stock location for the scrap.

Kindly review the branch and please share your views on it.

Thanks,
Somesh Khare
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-574681-skh/+merge/105180
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/6.0-opw-574681-skh.
=== modified file 'stock/stock.py'
--- stock/stock.py	2012-04-30 14:27:39 +0000
+++ stock/stock.py	2012-05-09 09:34:20 +0000
@@ -2269,7 +2269,7 @@
                 'prodlot_id': move.prodlot_id.id,
             }
             if move.location_id.usage <> 'internal':
-                default_val.update({'location_id': move.location_dest_id.id})
+                default_val.update({'location_id': move.location_id.id})
             new_move = self.copy(cr, uid, move.id, default_val)
 
             res += [new_move]

_______________________________________________
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