diff options
| author | Xavier Morel <xmo@odoo.com> | 2018-08-20 17:07:50 +0200 |
|---|---|---|
| committer | xmo-odoo <xmo@odoo.com> | 2018-09-11 16:43:55 +0200 |
| commit | edb34ee27a50943299167ce997c022c118a0eeed (patch) | |
| tree | ba1db0262c13056cbb7d15b628d9b3628be60ff7 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | f11d143f00add145f1a05b51968108e46b96ca87 (diff) | |
[IMP] base: avoid ref() in conversion of M2O/M2M
A proper ref() call implies an exists(), which isn't that expensive
but piles up over a few thousand calls.
The partner import test case trigger 7394 calls to exists, for a total
of ~6% runtime (and under 2% for the actual xid lookup).
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
