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

Requested reviews:
  Rucha (Open ERP) (rpa-openerp)
Related bugs:
  Bug #925351 in OpenERP Addons: "6.1.0 RC1 mrp MO wrong destination location 
for finshed product"
  https://bugs.launchpad.net/openobject-addons/+bug/925351

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

Hello,

       stock : set a destination location for move

Thanks.
mma
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-925351-mma/+merge/91642
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-925351-mma.
=== modified file 'stock/stock.py'
--- stock/stock.py	2012-01-31 13:36:57 +0000
+++ stock/stock.py	2012-02-06 12:00:00 +0000
@@ -2452,7 +2452,7 @@
                 quantity = move.product_qty
 
             uos_qty = quantity / move_qty * move.product_uos_qty
-            location_dest_id = move.product_id.property_stock_production or move.location_dest_id
+            location_dest_id = move.location_dest_id
             if quantity_rest > 0:
                 default_val = {
                     'product_qty': quantity,

_______________________________________________
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