Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Live Chat

Entity: res.users

Compute Method: _compute_livechat_username

View 19.0 View 20.0
Inputs Method Outputs
+ if not self._has_livechat_field_access():
+             self.livechat_username = False
+             return
for user in self:
-             # sudo: livechat user can see the livechat username of any other user
            user.livechat_username = user.sudo().res_users_settings_id.livechat_username
  • livechat_username

Back to entity