Skip to Content
Menu
This question has been flagged
1 Reply
1224 Views

when i create a kanban view code i got an error why it happening?


Error: QWeb2 - template['kanban-box']: Runtime Error: TypeError: dict.record.partner_id is undefined
Avatar
Discard

Next time please use a meaningful title.

Best Answer

Hi,

In the kanban view specify the fields that you are using inside the template like this,

<field name="arch" type="xml">
<kanban class="o_hr_employee_kanban">
<field name="id"/>
<field name="partner_id"/>
<field name="message_ids"/>
<field name="message_needaction_counter"/>
<templates>
<t t-name="kanban-box">

Thanks

Avatar
Discard