This question has been flagged
1 Reply
4744 Views

How can i use loop in email-template ?

Avatar
Discard
Best Answer

hello

you can use only for loop in mail template.

for eg.

% for comp in object.component_ids:         
    <span>${comp.name}</span>
% endfor

Avatar
Discard

How to apply the same for loop on Odoo15?

It doesn't work

Thanks,
Tri Nanda