Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
6847 Widoki

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
Awatar
Odrzuć

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

Autor Najlepsza odpowiedź

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.

Awatar
Odrzuć

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

Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sty 22
223
1
gru 20
7187
0
cze 20
14455
1
mar 25
2570
0
sie 22
3623