Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
8806 Näkymät

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
Hylkää
Paras vastaus

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
Hylkää
Tekijä

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.

Tekijä

OK Thanks

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
marrask. 19
3879
2
maalisk. 19
8710
5
elok. 24
46787
4
toukok. 24
7218
2
huhtik. 24
2611