This commit is contained in:
michel 2017-11-20 15:24:30 +01:00
parent f3e9c630de
commit 0a67eabbd3

View File

@ -15,8 +15,7 @@ class Coworker(models.Model):
events_coworker_count = fields.Integer('Number of event have participe', events_coworker_count = fields.Integer('Number of event have participe',
compute='_compute_events_coworker_count') compute='_compute_events_coworker_count')
#Relation fields #Relation fields
relation_ids = fields.One2many( )
'coworking.relation', 'relation')
relation_ids = fields.One2many( relation_ids = fields.One2many(
string="Relation", string="Relation",
comodel_name="coworking.relation", comodel_name="coworking.relation",