Community mailing list archives

Odoo 8 Kanban Board

Ghulam Masood
- 05/07/2016 06:03:02

Hello All;

I have created a custom module and when i am defining the kanban board for it i get the following error:

"TypeError: selection[0] is undefined"

Both the form and tree views are working fine. The code for my kanban board is:

<record id="view_kanban_board_order_regis" model="ir.ui.view">
<field name="name">Order Register Kanban</field>
<field name="model">rms.order.regis</field>
<field name="arch" type="xml">
<t t-name="kanban-box">
<div class="oe_kanban_vignette">
<h4><field name="name"/></h4>
<field name="table_id"/>
<li><field name="product_id"/></li>
<li><field name="spicel_level"/></li>
<li><field name="kot"/></li>
<li><field name="comments"/></li>
<li><field name="state"/></li>
<field name="division_name" widget="priority"/>

<act_window id="action_order_regis_id"
name="Order Register"