summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2018-01-17 13:40:08 +0100
committerNicolas Lempereur <nle@odoo.com>2018-01-17 16:26:31 +0100
commit529a8f5aa87985592b957ba97b4e476ed41aea9c (patch)
treea884740cde30755cbddc0cd5f265eec3a1b65c5d /addons/web/static/src/js/fields/basic_fields.js
parent59e1bdff221f4a099f6000eb9884f84f772c38bb (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/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions