summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorRaphael Collet <rco@odoo.com>2019-10-23 13:32:07 +0000
committerRaphael Collet <rco@odoo.com>2019-10-23 15:12:51 +0000
commit15f3d5a139903c991a6958e92c17d5e4c97fd44b (patch)
tree2aa79067685a7efcbba884df09987c8fd611d325 /addons/web/static/tests/fields/basic_fields_tests.js
parentd6c54f4311b2b00f29dc1ef6ee36f8e99d42d12d (diff)
[IMP] models: optimize `_is_an_ordinary_table`
The queries made by the method `_is_an_ordinary_table` represent about 8% of the time to do a full Odoo installation. Use a cached query for all tables on the registry to reduce that time to some negligible amount. closes odoo/odoo#39262 Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions