Odoo Help


Add filter to Oportunities

on 5/16/16, 7:48 AM 511 views

Hi, I want to add a filter to search in the notes tab. I'm trying with this but i'm missing the domain so the user can put the string to search.

<record id="inherit_view_crm_case_opportunities_filter" model="ir.ui.view">
    <field name="name">CRM - opportunities Search </field>
    <field name="model">crm.lead</field>
    <field name="inherit_id"ref="crm.view_crm_case_opportunities_filter" />
    <field name="arch" type="xml">
        <xpath expr="filter[@string='Description']" position="after">
            <filter string="Notas" domain="[('description', '=',?)]" />


On 5/16/16, 8:48 AM

your code seems good ,but you should explain more , what exactly do you want to filter ?

<filter string="Notas" domain="[('description', '=',?)]" /> ??

What i want is to load as default filter a search in the internal notes field, I dont know if that field is description or another and how to do the filter without a default value.

on 5/17/16, 5:21 AM

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

1 follower(s)


Asked: 5/16/16, 7:48 AM
Seen: 511 times
Last updated: 5/16/16, 8:48 AM