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

Module: Signup

Entity: res.partner

Compute Method: _compute_signup_url

View 17.0
Inputs Method Outputs
  • user_ids
  • id
- """ proxy for function field towards actual implementation """
- result = self.sudo()._get_signup_url_for_action()
- for partner in self:
-             if any(u._is_internal() for u in partner.user_ids if u != self.env.user):
-                 self.env['res.users'].check_access_rights('write')
-             if any(u.has_group('base.group_portal') for u in partner.user_ids if u != self.env.user):
-                 self.env['res.partner'].check_access_rights('write')
-             partner.signup_url = result.get(partner.id, False)
  • signup_url

Back to entity