diff options
| author | David Arnold <dar@xoe.solutions> | 2019-07-10 12:44:58 +0000 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2019-07-30 06:41:09 +0000 |
| commit | a69b4653c5e182e00492a69a0dbe33a45a983f5c (patch) | |
| tree | 4756b5572e80dc4eaa000a8b2c6dec33ca021789 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 263e980817ef2a1f35ba3162eddb4fcbf267cff0 (diff) | |
[FIX] web: missed P3 text model change
concat_xml was apparently missed during the Python 3 text model fixes,
resuling in a function which usually returns ``(bytes, str)`` but in
the case of an empty or missing ``file_list`` would return ``(str,
str))` instead, leading to type errors in Python 3.
Fix the particular case so it properly returns bytes as the
"concatenation result" even when it did nothing. Fix the docstring so
it properly reflects expectations as well.
closes odoo/odoo#34751
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
