partner-contact/partner_contact_nationality/models/res_partner.py

11 lines
293 B
Python
Raw Normal View History

2021-03-23 19:36:29 +00:00
# Copyright (C) 2014-2015 Grupo ESOC <www.grupoesoc.es>
# 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"
nationality_id = fields.Many2one("res.country", "Nationality")