From 2da174e103598f0a81f25758c9f3fbd168356f82 Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Tue, 31 May 2016 08:48:53 +0200 Subject: [PATCH] [ADD] other gender as of 9.0 --- partner_contact_gender/models.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/partner_contact_gender/models.py b/partner_contact_gender/models.py index 88f632381..f3cb875b8 100644 --- a/partner_contact_gender/models.py +++ b/partner_contact_gender/models.py @@ -23,4 +23,8 @@ class Partner(models.Model): """Partners with gender.""" _inherit = "res.partner" - gender = fields.Selection([('male', 'Male'), ('female', 'Female')]) + gender = fields.Selection([ + ('male', 'Male'), + ('female', 'Female'), + ('other', 'Other'), + ])