Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
8848 Ansichten

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

Avatar
Verwerfen
Beste Antwort

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


Avatar
Verwerfen
Autor

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.

Autor

OK Thanks

Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Nov. 19
3922
2
März 19
8733
5
Aug. 24
46880
4
Mai 24
7267
2
Apr. 24
2682