Odoo Help


Creating a Custom Theme - Running into Problems on Install.

Paul Chater
on 11/26/14, 7:27 AM 911 views

I have been following the following documentation https://www.odoo.com/documentation/master/howtos/themes.html on creating themes however I am running into an error upon installation of my theme which is:

"Assertion Error: Expectingelement openerp, got template line 1"

If you need a full trace let me know and I will add it onto a pastebin.

I understand this is due to the <openerp></openerp> tags however it still won't go away even though I have followed the documentation to the tee.

If anybody could help with this that would be absolutely fantastic as it is a project I'm working on for work. I'm running Odoo v8 from Branch 8.0 on github on a Debian Wheezy 64 bit vm.


Do you have any empty space before the tags on line one? I've run into similar issues due to the XML parser not allowing an empty line one, or spaces between the start of the file and the opening tag.

Luke Branch
on 2/28/15, 8:49 PM

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.


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/26/14, 7:27 AM
Seen: 911 times
Last updated: 3/16/15, 8:10 AM