Hello, I want to add an Iframe in OpenERP so that I can show a different website in OpenERP only and wont have to switch between tabs. How can I do that ?
P.S. : I dont want to create widgets. Just an Iframe in OpenERP.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello, I want to add an Iframe in OpenERP so that I can show a different website in OpenERP only and wont have to switch between tabs. How can I do that ?
P.S. : I dont want to create widgets. Just an Iframe in OpenERP.
Update, for version 15.0 Enterprise:
1. Create new model (or leverage a model no user has create / edit access for)
2. Menu with Window Action: Target Window: Inline Edit; View Mode: Form
3. Form View:
How to set up the src dynamically?
Update, for version 11.0 Enterprise:
1. Create new model.
2. Menu with Window Action: Target Window: Inline Edit; View Mode: Form. Tree
3. Form View:
<?xml version="1.0"?>
<form string="Embedded Webpage" version="7.0" edit="false" create="false">
<center>
<iframe src="https://www.playkeepout.com" marginwidth="0" marginheight="0" frameborder="no" style="height: 600px; width: 100%; border-width:0px;">
</iframe>
</center>
</form>
Update, for version 9.0 Enterprise:
<?xml version="1.0"?>
<form string="Embedded Webpage" version="7.0" edit="false" create="false">
<div style="position:absolute; left:0; top:0; width:100%; height:100%;">
<iframe src="http://www.playkeepout.com/" width="100%" height="100%" marginwidth="0" marginheight="0" frameborder="no" scrolling="no" style="border-width:0px;">
</iframe>
</div>
</form>
--------------------------------------------------------------------------------------------------------
Just add an iframe to the view you want the webpage to appear in:
<?xml version="1.0"?>
<form string="Embedded Webpage" version="7.0" edit="false">
<iframe marginheight="0" marginwidth="0" frameborder = "0"
src="http://www.openerp.com" width="100%" height="1000"/>
</form>
UPDATE:
I don't have the problem you have in Chrome:
Using the exact code above, every link inside the IFRAME updates only the IFRAME.
First, the IFRAME was directed to www.openerp.com
Next, I clicked APPS.
Next, I clicked CRM.
Each time the window did not refresh, just the iframe.
this works but have a problem, If I click some link in the iframe it redirects the whole page at that link, I dont want that, if I click on something inside iframe hen it must be loaded inside iframe only not in the whole browser. is their any way to achieve that ? P.S Answer is appreciated,
Hussain, in the action choose the appropriate inlineview mode. It will be very confortible. regards
could you please answer tjis question https://www.odoo.com/fr_FR/forum/aide-1/question/how-to-create-qweb-view-112375
@Abdelfateh ABDA: I responded to your question.
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
2
thg 6 24
|
30145 | ||
|
3
thg 5 24
|
2870 | ||
|
3
thg 12 23
|
18200 | ||
|
0
thg 12 22
|
1994 | ||
can't call odoo from iframe
Đã xử lý
|
|
2
thg 12 22
|
3773 |
Hello, my query is how I can call the view from a menu in odoo 11, so with an iframe to place an external url and be able to view it from an odoo tab.