Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
8882 มุมมอง

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


อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Have you seen https://www.odoo.com/documentation/10.0/reference/reports.html ?

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
เม.ย. 24
3180
QWeb expressions if-conditions etc แก้ไขแล้ว
8
ธ.ค. 23
124879
1
ก.ค. 25
1712
1
พ.ค. 25
1709
QWeb: use t-if to check birthday date แก้ไขแล้ว
1
เม.ย. 25
2281