diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-12-17 11:26:11 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-12-17 11:29:09 +0100 |
| commit | 2f4382f4b4c60713e3ccc0afb57e20e9c23a4ef2 (patch) | |
| tree | d537cd06fd093298b1db0314e35982d9c80194cd /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js | |
| parent | c090d9992aa04adbe41a5a16c3a9b78c5e218a64 (diff) | |
[FIX] ir_qweb: translatable fields
This revision is related to 5257721
`record._columns` doesn't contain all record fields,
computed non-stored fields are not included in `_columns`,
Therefore, when a computed non-stored field was used in the QWeb xml,
this crashed with a Keyerror exception.
Using `_fields` solves this issue. Nevertheless, translate
is not always set, but is set when the fields is indeed translatable,
so the use of `getattr` was required.
opw-660072
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions
