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.


How custom search propositions

Anne-Sylvie Burri
on 11/12/13, 4:17 AM 561 views


My problem is that I can not run my code ... I want to instead of "TAG" it "CITY"

    <record model="ir.ui.view" id="res_partner_search">
        <field name="name">partner.search</field>
        <field name="model">res.partner</field>
        <field name="arch" type="xml">
            <search string="city">
                <field name="name"/>
                <field name="city"/>
                <filter  domain="[('city', 'ilike', self)]" />
    <record id="action_res_partner" model="ir.actions.act_window">
        <field name="name">Ville</field>
        <field name="res_model">res.partner</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree,form</field>
        <field name="search_view_id" ref="res_partner_search"/>

Do you have any idea?


Where are you adding this code? Your own module?

GH Mediacloud, Grover Menacho
on 11/12/13, 9:56 AM

Okay, and you are trying to.... Inherit? Or create a new object and view?

GH Mediacloud, Grover Menacho
on 11/12/13, 12:07 PM

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

0 follower(s)


Asked: 11/12/13, 4:17 AM
Seen: 561 times
Last updated: 3/16/15, 8:10 AM