def METHOD_NAME(self):
    if not self.env.user.has_group('sale_exception_credit_limit.credit_config') and not self._context.get('website_id'):
        raise ValidationError('People without Credit limit Configuration Rights cannot modify credit limit parameters')