OdooMindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
for user in self:
# sudo: livechat user can see the livechat languages of any other user
user.livechat_lang_ids = user.sudo().res_users_settings_id.livechat_lang_ids