Odoo Help


How to add Facebook Open Graph Tag in the <head> section?

Pascal Tremblay
on 9/21/15, 4:52 PM 1,725 views

Hello there,

How could I put new code in the <head></head> section of this page? The one selected in blue.

I try to follow ace_editor or ace-tm already there, but I don't find how to add a new line in this <head> section.

I want to put some Facebook Open Graph Markup there.

Could you help please?



Parikshit Vaghasiya

--Parikshit Vaghasiya--
| 6 3 8
--Parikshit Vaghasiya--

Working as an OpenERP/Odoo developer both experience in web and addons. you can contact me at:

E-mail : parikshitvaghasiya@gmail.com

Blog : parikshitvaghasiya.blogspot.in

Stackoverflow : http://stackoverflow.com/users/5089106/parikshit-vaghasiya

Parikshit Vaghasiya
On 9/22/15, 1:14 AM


you can add using this :

        <template id="login_layout_replace1_new" inherit_id="web.layout" name="Web layout">
<xpath expr="html/head" position="replace">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="/web/static/src/css/full.css" />
<t t-raw="head or ''"/>
//you can add your code here.

Hope this will help you!!

Nice avatar, Parikshit ;-)

Ermin Trevisan
on 9/22/15, 1:17 AM

Thank you :D

Parikshit Vaghasiya
on 9/22/15, 1:24 AM

I try this today. Big thanks. I come back with my result soon.

Pascal Tremblay
on 9/22/15, 11:09 AM

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.


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

1 follower(s)


Asked: 9/21/15, 4:52 PM
Seen: 1725 times
Last updated: 3/4/17, 10:46 PM