5d088e6a9040cbf6e348383923fadb349a07dc99
- Create a new tax, using the 'Python Code' tax computation - In 'Applicable Code' field, use a field only available on the `product.product` model (e.g. `product.code`) - Attach this new tax to a product that is available in the eCommerce - Access the eCommerce, search for the product if not displayed. The template `website_sale.products_item` crashes at rendering because `code` is not available on a `product.template`. `product` is supposed to be a `product.product` recordset. However, the method `_get_combination_info` of `sale` is made in such a way that we can fetch the information of a template, not a product. Utlimately, methods `compute_all` and `_compute_amount` are called with the wrong object. We fall back on the first variant in this case. opw-2056722 closes odoo/odoo#36134 Signed-off-by: Nicolas Martinelli (nim) <nim@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, Purchase Management, ...
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.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%