mirror of
https://gitlab.com/flectra-community/partner-contact.git
synced 2024-11-14 18:22:04 +00:00
14 lines
385 B
Python
14 lines
385 B
Python
|
# Copyright 2014-2015 Grupo ESOC <www.grupoesoc.es>
|
||
|
# Copyright 2017-Apertoso N.V. (<http://www.apertoso.be>)
|
||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||
|
|
||
|
from flectra import fields, models
|
||
|
|
||
|
|
||
|
class ResPartner(models.Model):
|
||
|
_inherit = "res.partner"
|
||
|
|
||
|
gender = fields.Selection(
|
||
|
[("male", "Male"), ("female", "Female"), ("other", "Other")]
|
||
|
)
|