22c47fb003c7cfaccb732de5b8ea7277b9dade54
A recent trend in report design in Odoo has been to dynamically set the report template to call using a python method. This was used e.g. to detect that a document should use an alternative report layout created by a localization package. Unfortunately, doing so 'breaks' the new report editor, as it runs without an underlying record, and therefore cannot call python methods to determine what the template id to call actually *is*. This commit removes this mechanism from the Sales app and the Brazilian localization, relying instead on 'normal' qweb directives and inheritance to generate the proper layout. This commit does not introduce any functionnal changes, it simply makes the templates compatible with the new report editor. No visible change should occur. X-original-commit: cd26f77adecc7036c845ed1d7c7094b63987a1a1 Part-of: odoo/odoo#129492
…
…
…
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%