Hi all,
self.env['res.users'].sudo().search([('id', '=', self.user_id.id)])
returns an empty recordset if the user.active and user.partner_id.active are set to false. Is there anyway to retrieve the inactive recordset for the given id (which is still correct?)
Regards,
Matthias
Odoo Customization Tips: https://plus.google.com/collection/oW1DWE