8b7a7058612be523878344a4e32bbb54689e983f
When purchase is returned, the product may move to internal location first. If option `Update quantities on SO/PO` is active, it does decrease the qty. However, when the option is disabled, it increase the qty instead of doing nothing. Fix it by making a proper if-else block structure STEPS: - Create a PO, confirm it and receive the product - On the transfer, make a return to a location that is not a child of your warehouse (PhysicalLocations/W/...), for instance, choose the location Physical Locations/Subcontracting Location - Untick the "Update quantities on SO/PO" (visible in debug), and validate the return transfer - Check your initial PO BEFORE: the received quantities have been updated, even if we asked not to do it AFTER: the received quantities is not changed opw-2858390 closes odoo/odoo#93471 X-original-commit: eb16b4ece9766d4fea85d88ad72e25e8ada209ac Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com> Signed-off-by: Ivan Elizaryev (iel) <iel@odoo.com>
…
…
…
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
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%