Odoo Help


How can a such thing be possible?

Pascal Tremblay
on 3/17/15, 10:31 AM 1,184 views

Hello guys,

Look at this. Where is the prob?

1) I search in all file of Odoo for the characters « X-UA-Compatible ».


2) I replace all instances of « X-UA-Compatible » by some scrap.


3) I always get this original line




Jérémy Kersten (jke)
On 3/17/15, 11:33 AM

Have you updated the module ?

Because at installation, Odoo load the xml into the database.

If you want to update it directly in Odoo to test, you can go to :

Settings -> Technical -> Technical Settings -> Views

Search for "POS index"

And you can edit and see the result in real time !

ok, will try an « -u all » to see.

Pascal Tremblay
on 3/17/15, 12:28 PM

you can do '-u point_of_sale' That will be quickly

Jérémy Kersten (jke)
on 3/17/15, 12:29 PM
Pascal Tremblay
On 3/17/15, 12:54 PM

OK, you are right. I had to update. BUT, now, look at this.

In my file /home/odoo-test/odoo-test/addons/point_of_sale/views/templates.xml :

<?xml version="1.0" encoding="utf-8"?>



<template id="index" name="POS Index - Original"><!DOCTYPE html>



<title>Odoo POSzxxx</title>

<meta http-equiv="X-UA-Compatibleasdasd" content="IE=edge,chrome=1"/>


THE TITLE TAG IS ALWAYS UNCHANGED WHEN I INSPECT THE CODE!! I search about this title since many days... 

Look image


If I define point_of_sale.index in my custom module, it works...

<?xml version="1.0" encoding="utf-8"?>



<template id="point_of_sale.index" name="POS Index - Original"><!DOCTYPE html>



<title>Odoo POSzxxx</title>

<meta http-equiv="X-UA-Compatibleasdasd" content="IE=edge,chrome=1"/>



It's true! with this, it works.



I'm still in the same problem (like one of my previous post https://www.odoo.com/forum/help-1/question/how-to-replace-a-title-with-xpath-81796). Here is the code from my custom module. the first xpath NEVER works. The second xpath ALWAYS works.

<template id="point_of_sale.index_as" inherit_id='point_of_sale.index' name="Index - AS">

<xpath expr="//title" position="replace">

<title>Odoo POS - AS</title>


<xpath expr="//link[@id='pos-stylesheet']" position="after">

<link rel="stylesheet" href="/pos_lapagept/static/src/css/pos_as.css" />




I begin to think that in the point_of_sale module, there is some python or js code who MODIFY the title tag of the page...

Pascal Tremblay
on 3/17/15, 12:59 PM

I just take a (long) look, and it's true, that is the default behavior of webClient which override the title... I have juste changed that (https://github.com/odoo/odoo/commit/082a6ce0abaf772bfff22643402b250bdd271f5d) so if you pull or cherry-pick my commit, it will be fixed :)

Jérémy Kersten (jke)
on 3/17/15, 1:56 PM

Thanks a lot! I was sure nobody look at this post! Ouf! Thanks

Pascal Tremblay
on 3/17/15, 2:01 PM

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

2 follower(s)


Asked: 3/17/15, 10:31 AM
Seen: 1184 times
Last updated: 4/17/15, 8:46 AM