Odoo Help


Editing sale confirmation page - Escape special char in qweb

Denise van der Linden
on 11/16/15, 8:42 AM 888 views

I could find and edit the sales confirmation page (website_sale.confirmation ) in the backend (SAAS V8) to add affiliate tracking code below.

<!--START Goodpartners CODE-->

<script language="JavaScript" type="text/javascript"

<!-- END Goodpartners CODE -->

However upon saving the following error message is generated.


Field(s) `arch` failed against a constraint: Invalid display definition

Error details:
Start tag expected, '<' not found, line 1, column 3  

Is javascript allowed?

you need to escampe your char. And it's no PHP so your code will not work ! You need to specify your order_id with Qweb !

Jérémy Kersten (jke)
on 11/16/15, 9:00 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: 11/16/15, 8:42 AM
Seen: 888 times
Last updated: 11/16/15, 9:00 AM