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

Hello all,

Where can I find documentation and examples about this kind of line?

I would need to understand the priority of the operators (in, and, or) in the t-value expression. With examples if possible.

I don't understand very well how the variable takes his value from such an expression.

The line :

<t t-set="seo_name" t-value="main_object and 'website_meta_title' in main_object and main_object.website_meta_title or main_object.name" />


Thanks to help


Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
huhtik. 24
3204
8
jouluk. 23
124909
1
heinäk. 25
1734
1
toukok. 25
1742
1
huhtik. 25
2300