from odoo import models, fields, api, _ from odoo.exceptions import UserError class ErpSystem(models.Model): _name = 'erp.system' _rec_name = 'name' name = fields.Char('Nombre')