Odoo Help

0

Adding I frame in OpenERP

By
Hussain Nagri
on 10/20/13, 7:52 AM 5,527 views

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.

5

Ray Carnes

--Ray Carnes--
16349
| 9 7 9
Greater Los Angeles, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0.

Completed Odoo Functional and Technical Training.

Major Skills:

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

I am a skilled Communicator and I only take the serious things seriously!

Ray Carnes
On 10/20/13, 9:48 PM

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:

image description

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 Nagri
on 10/27/13, 5:02 AM

Hussain, in the action choose the appropriate inlineview mode. It will be very confortible. regards

Mind & Go, Mind And Go
on 12/9/14, 5:08 PM

@Abdelfateh ABDA: I responded to your question.

Nebras Solutions, Slim BHIRI
on 12/31/16, 5:44 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

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

Question tools

4 follower(s)

Stats

Asked: 10/20/13, 7:52 AM
Seen: 5527 times
Last updated: 12/28/16, 10:24 AM