# Copyright 2014 Pedro M. Baeza # Copyright 2015 Antonio Espinosa # Copyright 2015 Jairo Llopis # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html from flectra import fields, models class ResPartner(models.Model): _inherit = "res.partner" job_position_id = fields.Many2one( "res.partner.job_position", "Categorized job position" ) class ResPartnerJobPosition(models.Model): _name = "res.partner.job_position" _description = "Job position" name = fields.Char(required=True, translate=True)