Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
8898 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
apr 24
3185
8
dic 23
124891
1
lug 25
1723
1
mag 25
1726
1
apr 25
2290