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:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
Bu soru işaretlendi
1
Cevapla
8504
Görünümler
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>
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
1
Tem 23
|
1778 | ||
|
2
Nis 21
|
15272 | ||
|
0
Ara 16
|
2453 | ||
inherit search view in openerp7
Çözüldü
|
|
5
Eki 16
|
12313 | |
|
2
Kas 15
|
10425 |