I inherited the partner model as follows:
class PartnerExt(models.Model):
_inherit = 'res.partner'
cars = fields.One2many('contact.cars', 'partner_id', string='Cars')
class Car(models.Model):
_name = 'contact.cars'
_rec_name = "car_name"
car_name = fields.Char(string="Car")
price = fields.Char(string="Price" )
I have this inside base view partner form:
< field name="cars" />
But it shows only the car names and not the prices.
How can I show the prices for each car?
Thank you
Thank you