Hi There
I have defined a kanban view for my object but it is not created and gives the following error:
"TypeError: selection[0] is undefined
http://127.0.0.1/web/js/web.assets_backend/529d95c:8051"
I have defined the kanban board as follows;
<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"/>