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
- 회계
- 재고 관리
- PoS
- 프로젝트
- MRP
신고된 질문입니다
1
회신
9173
화면
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>
| 관련 게시물 | 답글 | 화면 | 활동 | |
|---|---|---|---|---|
|
|
1
7월 23
|
2295 | ||
|
|
2
4월 21
|
16239 | ||
|
|
0
12월 16
|
3035 | ||
|
|
5
10월 16
|
12931 | ||
|
|
2
11월 15
|
11318 |