This commit is contained in:
michel 2017-11-03 11:41:11 +01:00
parent 3b8c7031f1
commit 582b4792db

View File

@ -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)