Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hello, I want to add an Iframe in OpenERP so that I can show a different website in OpenERP , but I want to pass dynamic values along with the url so that I can collect values with GET method on other end. now since this will be in xml view file I cant imagine how to do this. any pointers ?
I extended de product class to include a youtube URL field. The way I made it dynamic in the extended view was to use the t-att directive in QWeb:
<iframe allowfullscreen="allowfullscreen" frameborder="0" t-att-src="product.url_youtube"></iframe>
Hope this helps. Please vote my answer if it was useful to you.
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 11/10/13, 5:59 AM|
|Seen: 2673 times|
|Last updated: 3/24/16, 9:34 AM|