Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
9277 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
dub 24
3953
8
pro 23
126151
1
čvc 25
2390
1
kvě 25
2806
1
dub 25
2830