0664155bff3425f0e4d0e330b1c91a1b645cb90f
Problem --------- In most cases, default deferred accounts and journal need to be set up for localizations. This is normally done in the enterprise report module for that localization. However, in some cases, the localization does not have special report formats. In such situation, a localization report module that sets up very few default values for the data company is defined. This is way overkill. Objective --------- Allow the community company template to have 'unknown fields' defined. Doing so, allows for the default deferred accounts and journal to be defined without entreprise module to exists. Currently, this raises an error. Solution --------- In the pre-processing of the chart template values, we skip all the keys in the company data that are not company fields. We add a context value which, when True, revert that behavior back to before this commit and checks that all fields in the company template are actual company fields (this will be used in the standalone test for l10n modules). We also update the standalone test for l10n modules so that: 1. it reports errors in all l10n modules at once. 2. it uses the context value described above and checks that all fields in the company chart template are correct company field. closes odoo/odoo#138937 Related: odoo/enterprise#50305 Signed-off-by: William André (wan) <wan@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%