diff options
| author | Christophe Matthieu <chm@odoo.com> | 2018-05-29 13:51:33 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2018-08-13 17:09:28 +0200 |
| commit | e082ee38e85208ea3851039297afc2d1aec05fd7 (patch) | |
| tree | 5f132742505cb377f5f0948f59f513acac377f21 /addons/web | |
| parent | db8ed9aa47acedff4c584e55b567a84c8e7b4480 (diff) | |
[IMP] qweb: adding t-options-key="value"
This change greatly facilitates inheritance and xpath and avoids having
to rewrite each time the entire dictionary of t-options.
e.g.
<span t-esc="5" t-options="{'widget': 'char'}" t-options-widget="'float'" t-options-precision="4"/>
the t-options-xxx overwrite the dict. The rendering became:
<span>5.0000</span>
Diffstat (limited to 'addons/web')
0 files changed, 0 insertions, 0 deletions
