Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4703 Tampilan

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" />


Avatar
Buang
Jawaban Terbai

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

Avatar
Buang
Penulis

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.

Penulis

Thanks sir. We will take the related field solution.

Post Terkait Replies Tampilan Aktivitas
1
Agu 25
420
1
Feb 24
1208
1
Nov 22
2826
1
Feb 22
6154
2
Apr 19
7958