summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/graph/graph_controller.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2020-05-14 12:48:06 +0000
committerAaron Bohy <aab@odoo.com>2020-05-18 12:44:45 +0000
commit0a4ce899c55bed801cedc90b4bcb6ed1278b2e87 (patch)
treedb269927aac467bc88bdbf69baca82d451de3c6f /addons/web/static/src/js/views/graph/graph_controller.js
parentf71b09725fb6ed18d86b7fea7365f82f5d980d5d (diff)
[FIX] web: pivot no content helper
This commit reverts [1], which fixed the no content helper message of the pivot view, by moving the message definition in the JS. With Owl components, one must always use the translation function in the env (env._t), and no longer import it from 'web.core'. Moreover, there is no valid reason to define the message in JS here, except that there was a bug in owl, that has been fixed by [2] (merged in Odoo by the previous commit). [1] https://github.com/odoo/odoo/commit/c7cc672aba669175280d619ad39b14daefd7733f [2] https://github.com/odoo/owl/commit/2af8cccd65424ea75fbaa9f0a83c6974be4b1b5d closes odoo/odoo#51442 Signed-off-by: Géry Debongnie (ged) <ged@openerp.com> Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/graph/graph_controller.js')
0 files changed, 0 insertions, 0 deletions