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

In a tree list view, How we can get informations from a related field, ex From a lead we get partner's informations

Somthing like

<field name="partner_id.company_type" />


아바타
취소
베스트 답변

You need to create a new field that relates to the field you want.   You would create a field called company_type that is defined through the related attribute to partner_id.company_type.

See https://www.odoo.com/forum/help-1/question/is-it-possible-to-add-a-field-from-related-model-b-to-a-view-for-model-a-using-only-the-odoo-ui-99820

아바타
취소
작성자

Thanks. But i dont want to try this option . Im just wondering if there is a way to do that from ui nottwith related field from model

There is no other way that I know of. You can create the field via the UI, you don't need a module.

작성자

Thanks sir. We will take the related field solution.

관련 게시물 답글 화면 활동
1
8월 25
639
1
2월 24
1295
1
11월 22
2950
1
2월 22
6270
2
4월 19
8078