3055b00c4454fa96d71c0350b7328a4918a04e80
get_default_field and set_fields
Method `get_default_fields` =========================== Currently all the methods beginning by `get_default` are used to fetch their default values, usually by looking in the ir.config_parameter table. As several methods `get_default_fields` have been defined in res_config classes, it better to define it in base and calling to super to avoid side effects like the following example - 2 classes that override the same class and define the same method. In that case one method will never be called, as it is ovewritten by the other. Method `set_fields` =================== Currently all the methods beginning by `set_` are used to set their values, usually in the ir.config_parameter table. As several methods `set_fields` have been defined in res_config classes, it better to define it in base and calling to super to avoid side effects like the following example - 2 classes that override the same class and define the same method. In that case one method will never be called, as it is ovewritten by the other. Methods `get_default_foo` and `set_foo` ======================================= This commit deprecates the method starting with `get_default_` or `set_` in the res.config models. A warning is raised in that case.
…
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.
If you are a developer you may type the following command at your terminal:
wget -O- https://raw.githubusercontent.com/odoo/odoo/master/setup/setup_dev.py | python
Then follow the developer tutorials
For Odoo employees
To add the odoo-dev remote use this command:
$ ./setup/setup_dev.py setup_git_dev
To fetch odoo merge pull requests refs use this command:
$ ./setup/setup_dev.py setup_git_review
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%