i make a new page with tree view and form view
Now I want to make a kanban view for it and i failed
<record id="custom_kanban" model="ir.ui.view">
<field name="name">custom.kanban</field>
<field name="model">custom</field>
<field name="type">kanban</field>
<field name="arch" type="xml">
<kanban>
<field name="name"/>
<templates>
<t t-name="kanban-box">
<div class="oe_product_vignette">
<a type="open">
<img class="oe_kanban_image"
t-att-src="kanban_image('custom', 'image', record.id.value)" />
</a>
<div class="oe_product_desc">
<h4>
<a type="edit">
<field name="name"></field>
</a>
</h4>
<ul>
<li>Field 1 : </li>
<li>Field 2 : </li>
</ul>
</div>
</div>
</t>
</templates>
</kanban>
</field>
</record>
When I update the module, it says "except_orm: (u'ValidateError', u'The value "kanban" for the field "ir_act_window.view_type" is not in the selection')"