Skip to Content
Menu
This question has been flagged
1 Reply
2504 Views

Dear all

We are trying to open a popup embedding an iframe from a backend wizard.

The iframe points to an external https URL and we need to go back to the wizard after closing the popup.

Actually, I did not find any help with Odoo Forum or Google search

Thanks a lot for your help

Best regards    

Avatar
Discard
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
Related Posts Replies Views Activity
2
Jun 24
9382
3
May 24
793
2
Nov 23
34681
1
Dec 22
1810
3
Dec 23
16833