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

Using Odoo Studio, I added a custom Text field titled 'Formal Name' in the Product Unit of Measure's List View, The List view also displays the UOM Category. The custom field's id is x_studio_formal_name .

When selecting a unit of measure, I want the search to also work if I type the 'Formal Name' or the UOM Category.  For example, to assign a Unit of Measure to a Product, when I click the 'search more' option within the search list (which pops up while selecting a UOM), both the above mentioned fields are visible. However, the search does not work when I type the Formal Name or the UOM Category in the search box.

After enabling Odoo developer, I went to the 'Edit SearchView' option, where I found the below code under the standard view.

<search string="Search UOM">
                <field name="name"/>
                <separator/>
                <filter string="Archived" name="inactive" domain="[('active', '=', False)]"/>
                <group string="Group By">
                  <filter string="Category" name="group_by_category" context="{'group_by': 'category_id'}"/>
                </group>
            </search>

Now, what do I put in the inherited view and how do I add it, to make the search work for the 'Formal Name' and the UOM Category, under both: (1) the initial search list which only displays the UOM name and, (2) the full list that appears when I click the 'search more' option?

아바타
취소
관련 게시물 답글 화면 활동
3
7월 24
2577
1
9월 21
5383
1
12월 19
4445
1
10월 23
2157
1
12월 23
4671