How can I edit the search view to search in all fields (Name, City, ZIP, e.g.) of my contacts?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
1
Responder
8445
Vistas
Create an inherited view of the res.partner.select
view and add one line per field that you like to search.
For example:
<?xml version="1.0"?>
<filter string="Country" position="after">
<filter string="City" context="{'group_by': 'city'}"/>
<field name="street" filter_domain="[('street','ilike',self)]"/>
<field name="zip" filter_domain="[('zip','ilike',self)]"/>
<field name="city" filter_domain="[('city','ilike',self)]"/>
<field name="comment" filter_domain="[('comment','ilike',self)]"/>
</filter>
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
1
jul 23
|
1737 | ||
|
2
abr 21
|
15194 | ||
|
0
dic 16
|
2403 | ||
inherit search view in openerp7
Resuelto
|
|
5
oct 16
|
12246 | |
|
2
nov 15
|
10370 |