summaryrefslogtreecommitdiff
path: root/addons/website/tools.py
AgeCommit message (Collapse)Author
2019-04-16[FIX] website_sale: some quick fix related to ↵Jeremy Kersten
odoo/odoo@1537b475b0a06b1a99b664bb20f9d9e21141baf6 iframe autoclose failed bad label for typo closes odoo/odoo#32740 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2019-04-16[ADD] website: added tools file for utility methodsDharmraj Jhala
This commit adds a new file 'tools.py' that can contain utility methods which can be used at more than one places. For now it contains a method 'get_video_embed_url', that will accept a URL for the video and return an iframe snippet that can be embedded if the provided URL is valid (returns False otherwise). task-1945483