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

Hi everyone,


I'm encountering an error with the external_layout_striped template in Odoo 17. I haven't made any changes to my master base, but I receive an error whenever I try to view the PDF of my budget. The error message indicates an issue when rendering the template.

odoo.addons.base.models.ir_qweb.QWebException: Error while render the template
ValueError: El elemento '' no se puede localizar en la vista madre
Template: web.external_layout
Path: /t/t[4]
Node: 

 I would appreciate any guidance or suggestions on how to resolve this issue. Thank you

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

It looks like there is a xpath reference with an empty key in a module that inherit web.external_layout.
To find out what this could be, you could open the view web.external_layout en look in the tab "Inherited Views". 
In standard Odoo there is nothing there, so if you'll find something there, it is pretty likely that there is a customisation you may not know about.

You can open the view by first make sure debug mode is on and then typing View in the home screen and choose for "Views" or you can go to Settings/Technical/Userinterface/Views

After that search for the key web.external_layout or for the view external_layout. From the list open the one with just plain external_layout in the View Name.

Good luck.


Ảnh đại diện
Huỷ bỏ
Tác giả

I created other base haha

Thank you so much for your answer

Câu trả lời hay nhất

Are you sure that you don't have any custom addons ?
Odoo 17 enterprise included right?

Ảnh đại diện
Huỷ bỏ
Tác giả

No I Didn't.
Only I've used my custom addons in Sandbox :c

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 19
5213
1
thg 7 16
6774
0
thg 3 16
3417
2
thg 1 16
5459
6
thg 5 15
7900