Hello there,
In a qweb report, does it exist a operator to detect if a field contains a particular string?
Example :
<div t-if="p.name contains 'SUM'">
<p>bla bla bla</p>
</div>
Thanks to help!
EDIT #1
After the tip of mister Ray Carnes, I have try this one. No success. Syntax error.
<tr t-foreach="get_payslip_lines(o.line_ids)" t-as="p">
<td t-if="p.name like '%SUM%'">
<span>IT WORKS!!!!</span>
</td>
.......