تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4688 أدوات العرض

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
أغسطس 25
359
1
فبراير 24
1203
1
نوفمبر 22
2801
1
فبراير 22
6138
2
أبريل 19
7925