from odoo import fields,models,api from odoo.exceptions import UserError class RegisterMoreFields(models.Model): _inherit = "res.partner" # add the fileds that you want to the res.partner model ex. last name last_name = fields.Char()