콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4 답글
1962 화면

i want to add a search bar here in the list 


아바타
취소
베스트 답변

Hi,


To add a search bar in a list view, add the <search> tag with the appropriate attributes inside the <tree> tag. You can customize the search behavior by adding filters, groups, and other search options within the <search> tag.


For example, use the following code:

<search>
    <field name="field_to_search_1"/>
    <field name="field_to_search_2"/>
    <filter name="filter_name" string="Filter Label" domain="[('field_name', 'operator', value)]"/>
    <group expand="0" string="Group By">
        <filter name="group_by_field" context="{'group_by': 'field_name'}"/>
    </group>
</search>



Hope it helps.


아바타
취소
베스트 답변

ok

아바타
취소
작성자 베스트 답변

i did try to switch them on 

but it's not really doing what i want 

아바타
취소
베스트 답변

toggle to studio->click on views in the top right. And enable the search view. the search base will came



아바타
취소
관련 게시물 답글 화면 활동
0
3월 15
3601
0
10월 24
1329
6
8월 18
11237
3
9월 17
7840
1
3월 15
4781