From 582b4792db513443791c5b6a1b93cf6dec064146 Mon Sep 17 00:00:00 2001 From: michel Date: Fri, 3 Nov 2017 11:41:11 +0100 Subject: [PATCH] . --- ycoworking_model.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ycoworking_model.py b/ycoworking_model.py index c2e37ca..2c12b3b 100644 --- a/ycoworking_model.py +++ b/ycoworking_model.py @@ -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)