summaryrefslogtreecommitdiff
path: root/addons/web/models/ir_qweb.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/models/ir_qweb.py')
-rw-r--r--addons/web/models/ir_qweb.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/models/ir_qweb.py b/addons/web/models/ir_qweb.py
index 34d2ecb0d5d..b734c4f193c 100644
--- a/addons/web/models/ir_qweb.py
+++ b/addons/web/models/ir_qweb.py
@@ -65,6 +65,7 @@ class Image(models.AbstractModel):
atts["alt"] = alt
atts["data-zoom"] = src_zoom and u'1' or None
atts["data-zoom-image"] = src_zoom
+ atts["data-no-post-process"] = options.get('data-no-post-process')
atts = self.env['ir.qweb']._post_processing_att('img', atts, options.get('template_options'))