Technical archives des diffusions par email

technical@mail.odoo.com

Avatar

Re: How to search all fields of contacts

par
Solanki Shamji
- 25/08/2018 22:09:03
Hello,

For this you need to inherit search view and need to add your field which you want and also need to add domain in filter.

It will work only those fields which are added in search view not all the fields.
 
Search view also not search the compute field which not having store=true.

Thanks

On Sun, Aug 26, 2018, 6:30 AM Tom Luo <mariolzx@gmail.com> wrote:
Sorry that I did not explain my question clearly. When I say "search", I mean the search bar in the contact module.
Right now, it can only search by name, Tag, Salesperson. You cannot search the content in internal notes.

Thanks,

Tom


On Sat, Aug 25, 2018 at 8:35 PM Shyam Solanki <syam.solanki@gmail.com> wrote:
Hello,

The search method of any model returns recordset, recordset having all the fields, you can access using .(dot)

This may be helpful to you.

On Sun, Aug 26, 2018, 5:31 AM Tom Luo <mariolzx@gmail.com> wrote:
Hi,

How to search all fields of contacts?
I feel Odoo does not support this, but is there any app which could handle this?

Thanks,

Tom

_______________________________________________
Mailing-List: https://www.odoo.com/groups/technical-62
Post to: mailto:technical@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/technical-62
Post to: mailto:technical@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/technical-62
Post to: mailto:technical@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

Référence