diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2017-02-13 12:20:05 +0100 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2017-02-13 12:34:58 +0100 |
| commit | 83b6b71e2936bf8f4f6025574d41ebe36baf149a (patch) | |
| tree | f7c720dbbca198b882c1f08e434d34df4c262d3e /doc/reference/javascript.rst | |
| parent | 7c8a721a966a9678daefb23e95791d1a66369ec0 (diff) | |
[FIX] gamification: user_domain issue with not all
The field user_domain allow to get the list of users for which a
challenge is applied. The javascript framework for a char_domain widget
sends a JSON list to the server, but the server saved it as a string in
a Char field.
Hence we can have a list (in values received by write or create) or a
string (when getting the field value of a record).
Since 0c649644db0 this caused an error when user_domain was not empty.
This commit solves it by having _get_challenger_users always receiving a
string.
opw-708177
Diffstat (limited to 'doc/reference/javascript.rst')
0 files changed, 0 insertions, 0 deletions
