diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2018-01-17 13:40:08 +0100 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2018-01-17 16:26:31 +0100 |
| commit | 529a8f5aa87985592b957ba97b4e476ed41aea9c (patch) | |
| tree | a884740cde30755cbddc0cd5f265eec3a1b65c5d /addons/web/static/src/js/views/basic | |
| parent | 59e1bdff221f4a099f6000eb9884f84f772c38bb (diff) | |
[FIX] l10n_fr_certification: py3 json.dumps typo
In python3 json.dumps acts differently:
- encoding parameter is not available
- output is unicode (in python 2 it was bytestring if only ascii or
unicode otherwise)
This commit adapt string types so getting hash for the certifications
works for python2 and python3 by having unicode up to the sha.
Since ensure_ascii is set on json.dumps, these things are not risky
since uncode and bytestring can be combined without encoding error.
opw-804561
closes #22301
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
