Skip to Content
मेन्यू
This question has been flagged
1 Reply
9067 Views

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
Discard
Related Posts Replies Views Activity
3
अप्रैल 24
3492
8
दिस॰ 23
125369
1
जुल॰ 25
1996
1
मई 25
2137
1
अप्रैल 25
2500