Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
8850 มุมมอง

Hi,

Is it possible to show fields from another model in a model view without creating related fields?

because i need to show a lot of fields and don't want to duplicate the data

Thank you

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi Ali:

Yes. This is possible. You can do it using computed fields.

The following link may be helpful: https://www.odoo.com/documentation/12.0/reference/orm.html#basic-fields


อวตาร
ละทิ้ง
ผู้เขียน

Thank you, but i don't want to add any new field, i just want to show Model A fields in Model B view

A field has to exist in the underlying model before you can display it in the view. If you do not selected the "Stored" attribute, the field will be added to the model without storing it's contents in the database.

ผู้เขียน

OK Thanks

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
พ.ย. 19
3922
2
มี.ค. 19
8736
Select multiple elements with XPath แก้ไขแล้ว
5
ส.ค. 24
46887
4
พ.ค. 24
7267
2
เม.ย. 24
2686