Odoo Help


How custom search propositions

Anne-Sylvie Burri
on 11/12/13, 4:17 AM 967 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

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: 11/12/13, 4:17 AM
Seen: 967 times
Last updated: 3/16/15, 8:10 AM