Community mailing list archives

community@mail.odoo.com

Odoo 8 Kanban Board

by
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

http://127.0.0.1/web/js/web.assets_backend/529d95c:8051"

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">
<kanban>
<templates>
<t t-name="kanban-box">
<div class="oe_kanban_vignette">
<h4><field name="name"/></h4>
<field name="table_id"/>
<ul>
<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>
</ul>
<field name="division_name" widget="priority"/>
</div>
</t>
</templates>
</kanban>
</field>
</record>

<act_window id="action_order_regis_id"
name="Order Register"
res_model="rms.order.regis"
view_mode="kanban,tree,form"/>