summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2018-12-07 12:20:08 +0000
committerNicolas Martinelli <nim@odoo.com>2018-12-10 11:59:03 +0000
commit0687f17622c3e93558a80364ff4b07fa1ed76d8e (patch)
treeb577e290fac7901c0e39d60e03a9f2a57fc09cb0 /addons/web/static/src/js/fields/basic_fields.js
parentfba844c73268cace5055537449e7b8f1e530c22c (diff)
[FIX] mail: model description
Do not use the model `_description` field which cannot be translated. Use the `display_name` of the corresponding model instead. Moreover, `<t t-esc="'%s' % model_description or 'document'"/>` gives `'None'`, while `'document'` is expected. This adds a query to some tests, which is expected since `display_name` requires information stored in the DB, while `_description` is defined at the Python level. opw-1908420
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions