/
This commit is contained in:
parent
704ac03ca9
commit
e048a9e9f0
@ -13,11 +13,11 @@ class CoworkerRelation(models.Model):
|
||||
name = fields.Char()
|
||||
|
||||
coworker1 = fields.Many2one(
|
||||
'coworking.coworker', 'Coworker', index=True, required=True,
|
||||
'coworking.coworker', 'Coworker1', index=True, required=True,
|
||||
domain="[('coworker_type', 'in', ['staffer', 'member', 'worker', 'volunteer', 'visitor'])]"
|
||||
)
|
||||
coworker2 = fields.Many2one(
|
||||
'coworking.coworker', 'Coworker', index=True, required=True,
|
||||
'coworking.coworker', 'Coworker2', index=True, required=True,
|
||||
domain="[('coworker_type', 'in', ['staffer', 'member', 'worker', 'volunteer', 'visitor'])]"
|
||||
)
|
||||
relation = fields.Char(index=True, required=True)
|
||||
|
Loading…
Reference in New Issue
Block a user