diff options
| author | Wolfgang Taferner <wtaferner@users.noreply.github.com> | 2017-09-10 07:28:49 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2017-09-12 11:20:09 +0200 |
| commit | 236a24de964d4fb4cdcab9bc2f43f29b2bbe47fe (patch) | |
| tree | 1e29972e8c0a9c2a54f39e449c941498e8c23974 /addons/web/static/src/js/fields | |
| parent | 80ad2a370cb161b205c7fd07a97f577a07fc50b0 (diff) | |
[FIX] account: handling of text domains in _query_get
1df72cb01b9c6de0e417bdafb60b46d0276b7888 added a stringification of
the domain parameter to handle situations where an actual
domain (list/tuple) is being provided rather than a string, however
this causes issues when the string input is text (unicode) containing
non-ascii data as in Python 2 `str()` will then raise a
UnicodeEncodeError.
Rather than stringify the input, bypass safe_eval when the input is
already a proper domain.
Closes #19367
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions
