Additional information: products in MTO are not the only one concerned by this. Any stock.move with the move_dest_id column filled in will trigger the filling of move_history_ids when the action_done method is called. This means that if there are any chained moves in the processing of a shippment, it will not be possible to process returns in the final outgoing move.
Examples of configurations generating this situation: * if a stock.location has a chained location with a chaining type different from "automatic" * if the stock_location addon is used to configure push or pull flows * mrp also generates moves with move_dest_id set I'm changing the title of the bug report to reflect this. ** Summary changed: - Bug for return products (of a lot) + Cannot return outgoing moves if there are chained moves (including MTO products, products in a lot, pr ** Summary changed: - Cannot return outgoing moves if there are chained moves (including MTO products, products in a lot, pr + Cannot return outgoing moves if there are chained moves (including MTO products, products in a lot ** Summary changed: - Cannot return outgoing moves if there are chained moves (including MTO products, products in a lot + Cannot return outgoing moves if there are chained moves (including MTO products, products in a lot, settings with chained warehouse locations...) -- 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/944025 Title: Cannot return outgoing moves if there are chained moves (including MTO products, products in a lot, settings with chained warehouse locations...) Status in OpenERP Addons (modules): Confirmed Bug description: Return products (of a lot) "Warning ! There are no products to return (only lines in Done state and not fully returned yet can be returned)!" Steps to find the bug: - Create a new product: Stockable / Make to order / Buy Check the boxes for the incoming and the outgoing traceability (Track Incoming/Outcoming Lots) - Create a Sale Order for x PRODUCT - Run the scheduler - Confirm the Request for Quotation - Receive the product - Process the reception - Create a new production lot - Process the internal move (toward this new lot) - Deliver the product (from this lot) -> State: done - Click on Return Products -> Window with the error message To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-addons/+bug/944025/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openerp-india Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-india More help : https://help.launchpad.net/ListHelp

