summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2016-04-21 14:04:11 +0200
committerMartin Trigaux <mat@odoo.com>2016-04-22 16:14:19 +0200
commitfd7a7207acde3bd4358f7444b988b5930ba0d381 (patch)
treef66ca8067b367b24b6e8ee04856e1fb0fb5344ca /addons/web/static/src/xml/base.xml
parent600f884524f7ff0ee747795eba644c0eb864559c (diff)
[FIX] orm: do not save empty translation as 'false'
When writting a value on a translatable field in a different language than English, the submitted *raw* value was saved in the database. This could cause the following issues: - empty value (provided as `False` by the web client) saved as the string 'false' in the translations table - no encoding or sanitization convertion - ignore size parameter on the translatable field Process the submitted translation through symbol_set method to clean it before storing it blindly in the database. This allows to convert `False` into `''` for empty value and fixes #10862
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
0 files changed, 0 insertions, 0 deletions