Ahmed Khalaf e8284f1afa [IMP] stock: break move_dest_ids link on location change
Before this commit, if a move is followed by a second move, if the destination
location of the first move is changed, and done, the second move will be assigned
and reserving from the new location.

This commit, compares the location destination of the move in `_action_done` with
the move_dest_id source location and breaks the link between them if they don't match,
the first move would trigger push rules if any exist and the destination move is set to MTS
to be able to reserve qty from the its source location.

Other minor improvements:
-Recomputes the state of the move when creating a backorder to correct
the backorder picking state.

-Recompute the state of move_dest_ids linked to PO when cancelling the PO
to show that it is converted to MTS.

closes odoo/odoo#123759

Task: 3321842
Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com>
2023-07-03 16:58:47 +02:00
…
2023-06-27 10:42:56 +02:00
2023-06-30 23:37:50 +02:00
…
…
…
…
…
…

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%