I wanted to know how does one handle a dynamically generated xml code that is invalid before being proccessed
For example generating a table that displays the information in two cells per row:
<t t-foreach="list" t-as="item">
This will not work since it's invalid xml because the closing tag has a property and neither will <t t-if="condition"> </tr> </t> since the closing tag is embeded in what the xml sees another tag
Alternatives to this would be looping over grouped items, two by two or how many you want per column, and placing them inside one <tr> in one loop but it's not that elegant
Any way around this?