Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet

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 
Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
März 22
7230
4
Aug. 20
5275
0
Nov. 19
3297
2
Sept. 24
1862
2
März 24
1556