d31c5c70e0411be38488e80112b656215060d628
Task 2124952 Extract all the demo data from `l10n_generic_coa` to a new way of generating the demo data for accounting modules. Because the data needs to be created multiple times, and right after the chart template instanciation, it cannot be done the usual way. Instead, we use python generators to declare the data. It allows us to reference data that was not created yet at the start of the creation of the demo. An xml_id is given, prefixed with the id of the company it is created for (just like the instanciation of the chart template) To find the correct accounts, a helper method has been added to `account.account`. It will look for an account with the correct xml_id (which is the one of the l10n_generic_coa, that we have to put on the other l10n modules too, in the future). If it didn't find the xml_id, it will look for an account with the correct type. If it still didn't find one, just take any account.
…
…
…
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%