Help

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

Open a iframe from a wizard in backend, do not close the wizard and go back to the wizard when the iframe is closed

Avatar
odoo
Avatar
Discard
1 Answer
0
Avatar
odoo
Best Answer

Hello EasyPME,

To load an iframe in backend you have to create one text field and give HTML widget to that field in XML. Now whenever you want to load an iframe on that field you need to render template using ir.ui.view into backend.you can refer below line of code to render template.

self.env['ir.ui.view']._render_template(View template id, values)

Also, if you want to load iframe on that field then you have to extend FormRenderer Js class to set your custom iframe on that field.

Avatar
Discard