Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
8731 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Auteur

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.

Auteur

OK Thanks

Gerelateerde posts Antwoorden Weergaven Activiteit
0
nov. 19
3813
2
mrt. 19
8645
5
aug. 24
46657
4
mei 24
7128
2
apr. 24
2556