Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
8875 Ansichten

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
3
Apr. 24
3177
8
Dez. 23
124878
1
Juli 25
1711
1
Mai 25
1708
1
Apr. 25
2281