Odoo Help


This community 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.


Creating a Custom Theme - Running into Problems on Install.

Paul Chater
on 11/26/14, 7:27 AM 824 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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 11/26/14, 7:27 AM
Seen: 824 times
Last updated: 3/16/15, 8:10 AM