forked from michel/Coworking
.
This commit is contained in:
parent
3b8c7031f1
commit
582b4792db
@ -2,14 +2,14 @@
|
||||
from odoo import models, fields
|
||||
class coworker (models.Model):
|
||||
_name = 'coworker'
|
||||
_description = 'Gestion des utilisateurs de l espace'
|
||||
_description = 'Manage the coworkers'
|
||||
|
||||
name = fields.Char('Name', required=True)
|
||||
firstname = fields.Char('First name', required=True)
|
||||
|
||||
coworkertype = fields.Selection([('staffer', 'Staffer'), ('worker', 'Worker'), ('member', 'Member'), ('volunteer', 'Volunteer'), ('visitor', 'Visitor')])
|
||||
|
||||
companyname = fields.Char('Company', required=False)
|
||||
job = fields.Char('Job', required=False)
|
||||
|
||||
street = fields.Char('Street', required=False)
|
||||
postalcode = fields.Char('Postal code', required=False)
|
||||
city = fields.Char('Ville', required=False)
|
||||
|
Loading…
Reference in New Issue
Block a user