تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3340 أدوات العرض

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
مارس 22
7230
4
أغسطس 20
5275
0
نوفمبر 19
3297
2
سبتمبر 24
1862
2
مارس 24
1555