Browse Source

[ADD] other gender as of 9.0

pull/281/head
Holger Brunn 9 years ago
parent
commit
2da174e103
No known key found for this signature in database GPG Key ID: 1C9760FECA3AE18
  1. 6
      partner_contact_gender/models.py

6
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'),
])
Loading…
Cancel
Save