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

I have developed a custom module which uses a client action to load some javascript which loads some qweb template files. While developing this on a local server on Windows I have had no problems but not that I have put it on a Ubuntu Lightsail to test it I get the error seen below.


I have been through the default modules which come with Odoo 14 and compared code and can see no differences as to how I'm loading my JS and template files. If anyone has any ideas as to how this can be fixed or why it works fine on Windows but not Ubuntu then suggestions would be appreciated.

Thanks 

Traceback: Error: QWeb2: Template 'statement' not found
Ảnh đại diện
Huỷ bỏ

Hi Josh,
Did you eventually figure this out? Getting the same error

Tác giả Câu trả lời hay nhất

Errmin Trevisan Thanks for the answer. The file ownership and permissions are the same as all of the default Odoo modules in the addons folder but the problem still persists.

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

If done properly, it works. Without any information or context, it is not possible to provide help. Trace back your error message.

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

Please check the addons location and the folder/file permissions.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 1 22
223
1
thg 12 20
7188
0
thg 6 20
14459
1
thg 3 25
2572
0
thg 8 22
3627