Adding not_disclosed to gender's options
This commit is contained in:
parent
04f383a951
commit
353a920ee0
@ -99,8 +99,11 @@ class ResPartner(models.Model):
|
|||||||
area_from_street = fields.Boolean(store=False, default=False)
|
area_from_street = fields.Boolean(store=False, default=False)
|
||||||
country_id = fields.Many2one(default=_get_default_nationality_id)
|
country_id = fields.Many2one(default=_get_default_nationality_id)
|
||||||
|
|
||||||
# Gender overwriting : no need for 'other' choice
|
# Gender overwriting
|
||||||
gender = fields.Selection([('male', _('Male')), ('female', _('Female'))])
|
gender = fields.Selection([('male', _('Male')),
|
||||||
|
('female', _('Female')),
|
||||||
|
('not_disclosed', _('Not Disclosed'))],
|
||||||
|
default='not_disclosed')
|
||||||
|
|
||||||
member_id = fields.One2many('golem.member', 'partner_id', 'Service user',
|
member_id = fields.One2many('golem.member', 'partner_id', 'Service user',
|
||||||
readonly=True)
|
readonly=True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user