Community mailing list archives

Referencing a Many2many field in a format string in a Kanban view

Hieu Nguyen
- 08/10/2015 09:15:06
Hello everyone,

In my Kaban views, I have a Many2many field named "pages". If i used "<field name="pages" />", it works fine and show the Many2many tags. However, if I use: "<img t-attf-src="/rescrap/static/OUTPUT/{{ record.pages.raw_value[0].site }}.jpg" />".

The part {{ record.pages.raw_value[0].site }} return undefined when I check with Firebug.