311d87e40c85ef80f80535ff5441caefff70fdee
Issue: When making a return for a transfer, the precision_rounding was taken from the UoM of the product given in the transfer, but the quantity was taken in the UoM of the product defined on its form Steps to reproduce : 1) Create a UoM "Hundreds", rounding precision 1 (has to be different than "Dozen"), Bigger than the reference Unit of Measure, ratio 100 2) Create a test product with "Dozen" as UoM 3) Inventory > Operations > Transfers > Create 4) Add test product, Demand=2, Unit of Measure=Hundreds 5) Validate 6) Create a Return for that transfer 7) Quantity is set to 17 Dozen instead of 16.67 Why is that a bug: The quantity to return is `quantity = stock_move.product_qty` (in UoM of the product form) but the rounding is made with rounding precision `stock_move.product_uom.rounding` (in UoM of the line of the transfer) which can be different in case of manual transfer creation for example opw-2543304 closes odoo/odoo#74588 X-original-commit: 4f962846ad0e47f7939f0181ecbae7954c23b615 Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com> Signed-off-by: Nathan Marotte <nmarotte@users.noreply.github.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%