This question has been flagged
2 Replies
5686 Views

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
Avatar
Discard

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

Author Best Answer

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.

Avatar
Discard

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

Best Answer

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

Avatar
Discard