← Back to team overview

openerp-dev-web team mailing list archive

[Merge] lp:~openerp-dev/openobject-addons/trunk-bug-753835-ara into lp:openobject-addons

 

Ashvin Rathod (OpenERP) has proposed merging lp:~openerp-dev/openobject-addons/trunk-bug-753835-ara into lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #753835 in OpenERP Addons: "POS Refund: picking is sent to Customers instead of back to Stock"
  https://bugs.launchpad.net/openobject-addons/+bug/753835

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-753835-ara/+merge/56884

Hello,

Fix: POS Refund: picking is sent to Customers instead of back to Stock

Thanks,
ara
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-753835-ara/+merge/56884
Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-bug-753835-ara.
=== modified file 'point_of_sale/wizard/pos_return.py'
--- point_of_sale/wizard/pos_return.py	2011-03-15 13:27:26 +0000
+++ point_of_sale/wizard/pos_return.py	2011-04-08 07:02:55 +0000
@@ -152,9 +152,9 @@
                                 'product_uos_qty': uom_obj._compute_qty(cr, uid, qty ,line.product_id.uom_id.id),
                                 'picking_id': new_picking,
                                 'product_uom': line.product_id.uom_id.id,
-                                'location_id': location_id,
+                                'location_id': stock_dest_id,
                                 'product_id': line.product_id.id,
-                                'location_dest_id': stock_dest_id,
+                                'location_dest_id': location_id,
                                 'name': '%s (return)' %order_id.name,
                                 'date': date_cur
                             })


Follow ups