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

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

相關帖文 回覆 瀏覽次數 活動
0
11月 19
3824
2
3月 19
8647
5
8月 24
46671
4
5月 24
7134
2
4月 24
2565