summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function.py
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2015-07-10 16:20:31 +0200
committerRaphael Collet <rco@openerp.com>2015-08-13 10:44:59 +0200
commit9fa4c2d1d878c0385dd69a39091300e26ce54a40 (patch)
tree44dfd63b2dfb3d1e896cbaa39bf833ded1b1231d /addons/analytic_user_function/analytic_user_function.py
parentc6c1824b7aff2ff5a0c3e470442444cdedaa3055 (diff)
[IMP] models: optimize `_setup_base()` by not retrieving proper fields
The method uses the costly `inspect.getmembers` to retrieve the fields defined on a model's classes. If the model is not modified by a module installation, we simply reuse the fields retrieved in a former model setup.
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions