Community mailing list archives

community@mail.odoo.com

Odoo 9 : QWeb2: Template 'kanban-box' not found

by
Yassine TEIMI
- 04/14/2016 07:21:51
Hello,

I'm trying to create a kanban view for my model, so I did the following on xml side :


<record model="ir.ui.view" id="product.product_kanban_view">
        <field name="name">Product Kanban</field>
        <field name="model">product.product</field>
        <field name="type">kanban</field>
        <field name="arch" type="xml">
            <kanban>
                <field name="color"/>
                <field name="type"/>
                <field name="product_image"/>
                <field name="list_price"/>
                <templates>
                    <t t-name="kanban-box">
                        <!-- qweb code -->
                    </t>
                </templates>
            </kanban>
        </field>
</record>

But I'm getting the following error :  QWeb2: Template 'kanban-box' not found

Any hint guys ? I'm stuck. 

Thanks.


--

Cordialement

Yassine TEIMI

Consultant & Odoo Project Manager
TEL : +212 6-87 71 41 18