Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
3 Antworten
5089 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
3064
3
Aug. 18
10787
0
März 15
3941
5
Nov. 24
47407
0
Apr. 25
1636