summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2017-12-18 14:43:27 +0100
committerNicolas Martinelli <nim-odoo@users.noreply.github.com>2017-12-19 13:35:36 +0100
commit102e8384737a1b6c659d98b9b53a00cbdbfc9659 (patch)
treedd2377ce42df7ff322cd940c258d0e82aa5145ac /addons/web/static/src/js/views/basic/basic_controller.js
parent7dfdfa0103872e39d6fde60373c56b9786461489 (diff)
[FIX] web: prevent double translation in kanban view
The kanban view uses a template which comes from the server, already translated. Before this commit, it tried to retranslate again the template in qweb.js, which may be a problem (in addition to the useless work): if some english string A is translated in B (french), but B is also a valid english string which is translated into C in french, then we will have a wrong result. In this commit, we simply add a flag to disable the translation process, which should also slightly improve the kanban view rendering performance.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions