Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3 Antworten
4866 Ansichten

How can i access env or any odoo instance from an odoo qweb templates? Here I am doing operations on the template where UserMenu and here is that possible to check using t-if with and odoo instance or env?

Avatar
Verwerfen
Autor

Wrong , qweb templates has no parser, you may think qweb reports

Beste Antwort

Use js directly or update variables through js I think Usermenu.js in web addon

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Apr. 20
2862
3
Aug. 18
10550
0
März 15
3738
5
Nov. 24
46886
0
Apr. 25
1383