from odoo import models, fields, api, _ from odoo.exceptions import UserError class ResUsersVista(models.Model): _inherit = 'res.users' only_all_app = fields.Boolean('Ver apps')