I am using Odoo 12. I don't have access to Odoo's Python part, only the Odoo developer mode. I installed the web_one2many_kanban
module but apart from the images and the id of the lines of my one2many
, I can not display the rest of the data.
My code:
<t t-name="kanban-box">
<div t-attf-class="oe_kanban_card {{ record.x_bom_line_ids.raw_value }}">
<t t-if="record.x_bom_line_ids.raw_value">
<div class="row">
<div class="col-8">
<strong>
<span>
<t t-esc="record.product_id.value"/>
</span>
</strong>
</div>
<div class="col-4">
<strong>
<span class="float-right text-right">
<t t-esc="record.x_virtual_available.value"/>
</span>
</strong>
</div>
</div>
</t>
</div>
</t>
<t t-foreach="record.x_bom_line_ids.raw_value" t-as="room">
<img t-att-src="kanban_image('mrp.bom.line', 'x_image', room)" t-att-data-member_id="room" />
My error:
"Uncaught TypeError: Cannot read property 'value' of undefined"