Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

I have a variable in lines which is "vendor" and i am looping through it but i want to see if a vendor name is repeating in the line it must not print i just wanna know how to compare

right now its like 


<t t-foreach="docs" t-as="o">
<tr class="row2">
<t t-set="i" t-value="o.vendor"/>
i know how to put a t-if condition but just help me with the condition. Thank you so much 
Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 22
7221
4
thg 8 20
5265
0
thg 11 19
3289
2
thg 9 24
1855
2
thg 3 24
1547