For a marketing campaign, I have an Email-Template, based on res.partner
The Email should contain the list of all Partner-Categories whos parent category match a predefined string.
When I use
${object.category_id}
I can see a list in the mail like:
[browse_record(res.partner.category, 7), browse_record(res.partner.category, 18)]
When I add the following
${object.category_id.name}
There is no output.
So, how can I report the categories in the Email Template, and how can I cycle through the list (for... statement)