From 33baebd139eb92d0f04c60cda955d6cc9852b7f3 Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Tue, 13 Oct 2015 16:44:14 +0200 Subject: [PATCH] [FIX] website_sale: can display video and iframe in website description Sanitize remove the iframe generate to add a youtube video for html field like product description on website. --- addons/website_sale/models/product.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_sale/models/product.py b/addons/website_sale/models/product.py index 7d14d735d19..da1bcb93f38 100644 --- a/addons/website_sale/models/product.py +++ b/addons/website_sale/models/product.py @@ -105,7 +105,7 @@ class product_template(osv.Model): ], string='Website Comments', ), - 'website_description': fields.html('Description for the website', translate=True), + 'website_description': fields.html('Description for the website', sanitize=False, translate=True), 'alternative_product_ids': fields.many2many('product.template','product_alternative_rel','src_id','dest_id', string='Suggested Products', help='Appear on the product page'), 'accessory_product_ids': fields.many2many('product.product','product_accessory_rel','src_id','dest_id', string='Accessory Products', help='Appear on the shopping cart'), 'website_size_x': fields.integer('Size X'),