a7f08f0b4c87aeb60315d07c2e0a5fc4c7a21e50
Steps to reproduce: . Change the decimal accuracy of the product price to 6 . Create a storable product and set the Vendor Tax . Create a purchase order with that item. . Set the unit price to have 6 decimal places. E.g: 9.406250 . Change the demand quantities to 10 . Confirm the purchase order. . Edit the purchase order and change the demand quantities to 7 (<10) . When you save, a new return order will be created Bug: Merging the two stock moves fail because the unit price is different and the unit price is different because in the case of taxes we recompute the unit price from untaxed amount which is rounded using the currency price_precision Fix: removed the unit_price from the keys used in matching which require an exact equality and added a comparaison on the lowest precision opw-3011342 closes odoo/odoo#110206 X-original-commit: f9ee1a22eb94e7ffcefd0023fc89150f8de73006 Signed-off-by: William Henrotin (whe) <whe@odoo.com> Signed-off-by: Walid Hanniche (waha) <waha@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%