c004067287c67cd384e78b6191bdd792b6198c5e
Steps to reproduce: 1- install sale, accounting 2- create a fiscal position fp that maps tax inc t1 to any other tax t2 3- create a delivery product dp with t1 and mark it "can be sold" 4- create a new delivery method with dp 5- in a new sales order, choose fp, click on add delivery 6- the unit_price is wrong, it hasn't mapped t1 to t2 7- try adding the delivery as a product in a new sales order line 8- the unit_price is correct and the taxes are correctly calculated Bug: `_create_delivery_line` is not using the same logic used when normally adding a sales order line although technically delivery product is still a product Fix: use `_get_tax_included_unit_price` to get the correct unit_price OPW-2806965 closes odoo/odoo#96874 X-original-commit: 03bb18d12606447faaed0de04bb83dde5de53b96 Signed-off-by: Laurent Smet <las@odoo.com> Signed-off-by: Mohamed Megahed Abbas Megahed SALLAM (mome) <mome@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%