summaryrefslogtreecommitdiff
path: root/doc/_extensions/autojsdoc/parser/parser.py
diff options
context:
space:
mode:
authorAdrian Torres <adt@odoo.com>2019-05-20 13:42:17 +0000
committerAdrian Torres <adt@odoo.com>2019-05-20 13:42:17 +0000
commit09af3fac3958d41dd21266c82402bea3e62c4f7c (patch)
tree10c5e2f5880c1967dea0792fb98749365efd5497 /doc/_extensions/autojsdoc/parser/parser.py
parent3c305daded374d22a40e22bcdf6bf4c9e4cb3359 (diff)
[FIX] base: generate field translations based on index key
The ir_translation table has an index on the (name, lang, type and value) key, however this index was not being used when generating field translations because the column `type` was missing! With this commit, we fully utilize the index when generating field translations. With the eCommerce with categories and 4k+ products, the time to charge products per category would be around 4-5s; With this patch it is reduced to 1-2s. opw-1961665 closes odoo/odoo#33504 Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
Diffstat (limited to 'doc/_extensions/autojsdoc/parser/parser.py')
0 files changed, 0 insertions, 0 deletions