Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
8792 Переглядів

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
3868
2
бер. 19
8692
5
серп. 24
46763
4
трав. 24
7186
2
квіт. 24
2599