跳至内容
菜单
此问题已终结
2 回复
6873 查看

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
形象
丢弃

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

编写者 最佳答案

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.

形象
丢弃

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

最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
0
1月 22
223
1
12月 20
7198
0
6月 20
14483
1
3月 25
2583
0
8月 22
3651