diff options
| author | Xavier Morel <xmo@odoo.com> | 2020-01-29 09:12:11 +0000 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2020-02-04 12:42:35 +0000 |
| commit | de590816d8d06730d99499db9a068f8d0e2cd3f9 (patch) | |
| tree | a138df14693c2f76614e76cd26a8fcf34d0df631 /addons/web_editor | |
| parent | eae19fc2cd3496d4b59e4d8029fcceb5eaa3a561 (diff) | |
[FIX] *: deprecated access to url_ utilities through werkzeug root
In 0.15 accessing werkzeug.urls functions directly through werkzeug
is deprecated, the shortcut will be removed in the eventual werkzeug
1.0.
Fix existing uses of these shortcuts. Also cleanup some imports when
they're not far from a werkzeug* import being altered.
Diffstat (limited to 'addons/web_editor')
| -rw-r--r-- | addons/web_editor/models/ir_attachment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/models/ir_attachment.py b/addons/web_editor/models/ir_attachment.py index bd8c27165d2..7c8ff486ea6 100644 --- a/addons/web_editor/models/ir_attachment.py +++ b/addons/web_editor/models/ir_attachment.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. -from werkzeug import url_quote +from werkzeug.urls import url_quote from odoo import api, models, fields, tools |
