summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/relational_fields.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2019-02-27 12:39:09 +0000
committerXavier Morel <xmo@odoo.com>2019-02-27 12:46:02 +0000
commit925385fde6039b20d705465c4aca1436b2d5b14a (patch)
treea6b2810737e68c77427b1056fe754b453d4bbbd1 /addons/web/static/src/js/fields/relational_fields.js
parent5a3ac7deceb0c267e6b694dd8225b8b824f53b78 (diff)
[FIX] base: properly check werkzeug version
Werkzeug version was being checked to avoid passing quote=True to werkzeug.utils.escape (as that parameter was changed to `True` *and deprecated* in 0.9). However because DeprecationWarning was made silent by default in Python 3.2 and the way the check is implemented worked for 0.9 it looks like nobody really noticed it's broken in the usual manner of half-assed version checks: works for 0.9.0, doesn't work for 0.12.3 (because lexically 0.12.3 < 0.9.0). Fix by using proper version parsing and comparing the result of that. See also: odoo/odoo#28116 closes odoo/odoo#31553 Signed-off-by: "Xavier Morel (xmo)" <xmo@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/fields/relational_fields.js')
0 files changed, 0 insertions, 0 deletions