Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
3 Vastaukset
4990 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
2966
3
elok. 18
10679
0
maalisk. 15
3844
5
marrask. 24
47181
0
huhtik. 25
1472