跳至內容
選單
此問題已被標幟

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 
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
3月 22
7259
4
8月 20
5288
0
11月 19
3310
2
9月 24
1882
2
3月 24
1568