diff --git a/models/coworker.py b/models/coworker.py index 8908bd7..9fa2c37 100644 --- a/models/coworker.py +++ b/models/coworker.py @@ -22,16 +22,23 @@ class Coworker(models.Model): company_name = fields.Char('Company') job = fields.Char() contact_date = fields.Date(default=fields.Date.context_today) + +#Adress fields street = fields.Char() contact_zip = fields.Char() city = fields.Char() full_contact_adress = fields.Char(compute='_compute_full_contact_adress') + phone_number = fields.Char() gsm = fields.Char('GSM') email = fields.Char() url = fields.Char('URL') note = fields.Text() + #Images fields + contact_image = fields.Binary() + + is_done = fields.Boolean('Done?') is_active = fields.Boolean('Active?', default=True) diff --git a/views/coworker_views.xml b/views/coworker_views.xml index 587bca2..167c6f5 100644 --- a/views/coworker_views.xml +++ b/views/coworker_views.xml @@ -10,6 +10,7 @@ +