Odoo Help


replace field in kanban view

Sebastian Orzechowski
on 4/11/14, 6:07 AM 2,710 views

Hello. I writing my module and i must replace one field in kanban view of fleet.vehicle . I want do in by inheriting fleet.fleet_vehicle_kanban view.


I found solution.

<record model="ir.ui.view" id="view_vehicle_kanban2">
        <field name="name">fleet.vehicle.kanban.inherit</field>
        <field name="model">fleet.vehicle</field>
        <field name="inherit_id" ref="fleet.fleet_vehicle_kanban"/>
        <field name="arch" type="xml">
            <xpath expr="/kanban/field[@name='driver_id']" position="replace">
                <field name="employee_id"/>

But i cant see field employee_id on kabnan view. When I debug "view_vehicle_kanban2" view i have:

 <field name='driver_id'>
        <view view_id = 404>            
            <field name='employee_id'>

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 4/11/14, 6:07 AM
Seen: 2710 times
Last updated: 3/16/15, 8:10 AM