diff options
| author | Raphael Collet <rco@openerp.com> | 2015-07-12 20:06:45 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2015-08-13 10:45:00 +0200 |
| commit | 6161c85d556cfecbb39327eef850f34f8021287a (patch) | |
| tree | ebcdd5aae7e03fceb31ceb918e65f22bd5b76e36 /addons/analytic_user_function/analytic_user_function.py | |
| parent | 9fa4c2d1d878c0385dd69a39091300e26ce54a40 (diff) | |
[IMP] fields: optimize `setup_base()` for regular (non-related) fields
Split the methods `_setup_regular` and `_setup_related` in `base` and `full`
parts, such that the `base` part is done in `setup_base()`, and the `full` part
is done in `setup_full()`.
This optimizes the setup of models during the installation of modules: regular
fields are not set up again from scratch. Only related fields (which are less
common) are always set up from scratch.
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions
