summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/widgets/data_export.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2017-07-13 18:09:22 +0200
committerqsm-odoo <qsm@odoo.com>2017-07-24 14:26:59 +0200
commit68766764bc9c2c824c7844bb721a48189d812ef6 (patch)
tree00f69fda165018896293170427c7ede24ac9bea9 /addons/web/static/src/js/widgets/data_export.js
parentf2521c9449d1f0b4fac7443aca4792e986c1a3a9 (diff)
[IMP] web: get rid of WidgetButton template
Qweb rendering is great to render "complex" widget structures. However, using it to render something as simple as a button was not very meaningful. This commit deletes the "WidgetButton" template and replaces it with an utility JS function to render buttons according to given parameters. Also, this change will allow a better change. Before this commit, the only templates left in the "base_common.xml" file are the "WidgetButton" and the "Dialog" ones. With the removal of "WidgetButton", the file can now be lazy loaded only if necessary, on the first dialog instantiation. This will allow to remove the need to load static XML files on each frontend page loading.
Diffstat (limited to 'addons/web/static/src/js/widgets/data_export.js')
0 files changed, 0 insertions, 0 deletions