openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #16035
[Bug 1049555] Re: Wrong output_id in sale_order._prepare_order_line_move
Hello Steeve,
I have checked your issue at my end with following scenario and get the
correct result.
1)Create a Sale order and confirm it, It will create a Delivery Order with stock to Customer location (property_stock_customer )which is correct.
2) I have created a chain location form stock to output and then created a Sale order and confirmed It generated the stock move as
Stock to Output and 2nd Output to Customer (property_stock_customer) which is also fine.
So would you please let us know where you have faced the problem please provide your scenario then we can investigate more
Thanks and waiting for your reply!
** Changed in: openobject-addons
Status: New => Incomplete
--
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):
Incomplete
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