diff options
| author | Christophe Matthieu <chm@odoo.com> | 2016-07-05 19:12:01 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2016-07-05 19:12:01 +0200 |
| commit | 8517eb3d7b7b29f650a91a05ba91b0eb93f03fcf (patch) | |
| tree | 2580c502d1a2fef8ce11fd259e8c0588c6db4f2f /addons/web/static/src/js/framework/formats.js | |
| parent | efed10bd9aadf487f9f1317abc6b89063758477d (diff) | |
| parent | 253a0f63110e91f7b690dc3b0111309001ffa051 (diff) | |
[IMP] qweb: t-esc, t-raw and t-field 'ir.qweb.field' models with t-options
Remove 'field' from 'value_to_html' method attributes
't-esc' escape the result of the widget.
(Added 'remove_span' as option for monetary widget)
E.g.: <t t-esc="32" t-options='t-options='{"widget": "monetary", "display_currency": website.currency_id, "remove_span": True}'>
result: $ 365.00
Use t-options instead of t-field-options
Add backward compatibility
Remove 'values' attribute from record_to_html
Remove 'field' attribute from value_to_html
+ few fix for 'ir.qweb.field' and cache
Diffstat (limited to 'addons/web/static/src/js/framework/formats.js')
0 files changed, 0 insertions, 0 deletions
