Assumption: fields.related is needed to display the fields of two related tables in the same view.
one2many, many2one and many2many can be specified in Field Type in Settings>Technical>Database Structure>Models Create: Fields
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Assumption: fields.related is needed to display the fields of two related tables in the same view.
one2many, many2one and many2many can be specified in Field Type in Settings>Technical>Database Structure>Models Create: Fields
Pulled from the documentation. Here are the relevant part:
A special case of computed fields are related (proxy) fields, which provide the value of a sub-field on the current record. They are defined by setting the related parameter and like regular computed fields they can be stored:
nickname = fields.Char(related='user_id.partner_id.name', store=True)
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
जुल॰ 23
|
2032 | ||
|
2
मार्च 15
|
9253 | ||
|
2
फ़र॰ 25
|
899 | ||
|
0
मई 24
|
1215 | ||
|
1
अग॰ 23
|
4104 |