跳至內容
選單
此問題已被標幟
1 回覆
8886 瀏覽次數

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


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
4月 24
3181
8
12月 23
124880
1
7月 25
1712
1
5月 25
1710
1
4月 25
2281