openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #18348
[Bug 1049555] Re: Wrong output_id in sale_order._prepare_order_line_move
** Changed in: openobject-addons
Status: Expired => Invalid
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1049555
Title:
Wrong output_id in sale_order._prepare_order_line_move
Status in OpenERP Addons (modules):
Invalid
Bug description:
Hello,
In the sale module, the methode _prepare_order_line_move of the class sale_order , define the output_id
- which is the stock_picking's location_dest_id field's -
to order.shop_id.warehouse_id.lot_output_id.id ; but imo it could be better like that :
sale/sale.py
859 - output_id = order.shop_id.warehouse_id.lot_output_id.id
859 + output_id = order.partner_id.property_stock_customer
Because the product moves to the partner location ...
What do you think about that ?
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1049555/+subscriptions
References