from odoo import models, fields, api, _ from odoo.exceptions import UserError class UserTicketAssign(models.Model): _name = 'user.ticket.assign' ticket_id = fields.Many2one('helpdesk.ticket','Ticket') user_id = fields.Many2one('res.users','Usuario Anterior') user_second_id = fields.Many2one('res.users','Usuario Actual')