Joseph Caburnay 29757d1079 [FIX] pos_self_order: product price when fiscal mapping involves tax incl
This commit introduces a new method in product.product model that can be used to
compute the correct product's unit price when fiscal mapping with price-included
taxes are involved. It is patterned after `computePriceAfterFp`[^1] from the
pos_store.js.

In this commit, the method is used to correctly show the products' prices when
making a self order.

[^1]: https://github.com/odoo/odoo/blob/b726842e472b5ad773f42a19db7b1bd8a9506786/addons/point_of_sale/static/src/app/store/pos_store.js#L978

Part-of: odoo/odoo#139915
2023-10-27 13:02:17 +00:00
2023-10-27 08:36:16 +00: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%