foreach and if condition in qweb code example Example: foreach and if condition in qweb <t t-if=”count==0”><t t-set=”count” t-value=”1” /></t>