Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
3 Vastaukset
4849 Näkymät

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
Hylkää
Tekijä

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

Paras vastaus

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

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
huhtik. 20
2843
3
elok. 18
10517
0
maalisk. 15
3732
5
marrask. 24
46843
0
huhtik. 25
1363