Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3997 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ

@Paul,

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.

Bài viết liên quan Trả lời Lượt xem Hoạt động
5
thg 12 19
7903
0
thg 7 15
4026
1
thg 6 15
6309
0
thg 6 15
120
3
thg 2 17
10181