跳至內容
選單
此問題已被標幟
1 回覆
4705 瀏覽次數

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
435
1
2月 24
1208
1
11月 22
2835
1
2月 22
6158
2
4月 19
7964