Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
8888 Vues

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
Ignorer
Publications associées Réponses Vues Activité
3
avr. 24
3182
8
déc. 23
124881
1
juil. 25
1715
1
mai 25
1715
1
avr. 25
2284