Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
8878 Lượt xem

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


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 4 24
3179
8
thg 12 23
124879
1
thg 7 25
1712
1
thg 5 25
1708
1
thg 4 25
2281