Odoo Help


This community 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.


Why is my view showing up as type "Qweb"?

Jeff Beidler
on 2/11/15, 11:47 AM 502 views

I'm trying to add the state field into the kanban display for partners.  It isn't appearing, and I am not getting any error messages, so I looked to make sure that it is actually appearing in the "Manage Views" list.  It does appear, and has a lower sequence (priority) number than any other views that inherit from "res.partner.kanban", but I also noticed that it is listed as type "Qweb".  My code is below:

<?xml version="1.0" encoding="utf-8"?>
    <record id="my_partner_kanban_view" model="ir.ui.view">
        <field name="name">my_partner_kanban_view</field>
        <field name="model">res.partner</field>
        <field name="inherit_id" ref="base.res_partner_kanban_view"/>
        <field name="priority" eval="5"/>
        <field name="arch" type="xml">
            <field name="city" position="after">
                <field name="state_id"/>

Is there some other field that will specify the view type as kanban?

Jeff Beidler
On 2/11/15, 2:05 PM

I guess it's okay that it shows up as "Qweb" and not "Kanban".  Once you get your field selection syntax down right, it seems to work just fine.  Maybe it's because the fields I'm modifying are inside template tags, defined inside the parent kanban view.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 2/11/15, 11:47 AM
Seen: 502 times
Last updated: 3/16/15, 8:10 AM