Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Odoo qweb dynamic html generation [Closed]
The Question has been closed for reason: duplicate questionby
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 the grouped item and having two columns defined per <tr> in one loop but that means we will have duplicate content or as much repetetive content as there are column in the table which is not a good solution imo
Any way around this?