[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.
This commit is contained in:
Christophe Matthieu
2015-10-14 16:25:56 +02:00
parent 8283e5f640
commit 33baebd139
+1 -1
View File
@@ -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'),