Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
9083 Weergaven

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
apr. 24
3511
8
dec. 23
125391
1
jul. 25
2001
1
mei 25
2153
1
apr. 25
2509