# -*- coding: utf-8 -*- # © 2014-2016 Camptocamp SA (Author: Romain Deheele) # © 2017 senseFly, Amaris (Author: Quentin Theuret) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import models from odoo import fields class Country(models.Model): _inherit = 'res.country' continent_id = fields.Many2one( comodel_name='res.continent', string='Continent', ondelete='restrict', )