Odoo modules extending contacts / partners
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
352 B

  1. # -*- coding: utf-8 -*-
  2. # License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
  3. from odoo import fields, models
  4. class ResPartner(models.Model):
  5. _inherit = "res.partner"
  6. birthplace = fields.Char("Birth place")
  7. birthplace_country_id = fields.Many2one(
  8. comodel_name="res.country",
  9. string="Birth country",
  10. )