diff --git a/coworking_coworker/models/res_partner.py b/coworking_coworker/models/res_partner.py index 1ba950a..17e9cf3 100644 --- a/coworking_coworker/models/res_partner.py +++ b/coworking_coworker/models/res_partner.py @@ -9,6 +9,7 @@ class ResPartner(models.Model): """ Coworker model """ _inherit = 'res.partner' + is_coworker = fields.Selection([('is_coworker', 'Is_coworker')]) company_ids = fields.One2many( string="Company", diff --git a/coworking_coworker/views/res_partner_views.xml b/coworking_coworker/views/res_partner_views.xml index 6ed04a7..b7b24ea 100644 --- a/coworking_coworker/views/res_partner_views.xml +++ b/coworking_coworker/views/res_partner_views.xml @@ -8,10 +8,16 @@ + +
+ +
+ +
+ -