/
This commit is contained in:
parent
ccb82a0c72
commit
aa0d4d36d0
@ -19,10 +19,11 @@ class Coworker(models.Model):
|
||||
coworker1_relation_ids = fields.One2many(
|
||||
string="Relation",
|
||||
comodel_name="coworking.relation",
|
||||
inverse_name="coworker1"
|
||||
inverse_name="coworker1",
|
||||
domain="[('coworker2', '=', True)]"
|
||||
)
|
||||
coworker2_relation_ids = fields.One2many(
|
||||
string="Relation",
|
||||
string="Relation with you",
|
||||
comodel_name="coworking.relation",
|
||||
inverse_name="coworker2"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user