Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Guest House
    • Distributeur de boissons
    • Hotel
    Real Estate
    • Real Estate Agency
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consulting
    • Accounting Firm
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Solar Energy Systems
    • Cordonnier
    • Services de nettoyage
    • HVAC Services
    Others
    • Nonprofit Organization
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

I try to grant access for my customer in odoo but it doesn't work

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
portalv15
3 Réponses
3778 Vues
Avatar
Natthanan Anancharoenpakorn

RPC_ERROR

Odoo Server Error

Traceback (most recent call last):

  File "/home/odoo/src/odoo/15.0/odoo/addons/base/models/ir_http\.py",\ line\ 237,\ in\ _dispatch

 \  \ result\ =\ request\.dispatch\(\)

 \ File\ "/home/odoo/src/odoo/15\.0/odoo/http\.py",\ line\ 698,\ in\ dispatch

 \  \ result\ =\ self\._call_function\(\*\*self\.params\)

 \ File\ "/home/odoo/src/odoo/15\.0/odoo/http\.py",\ line\ 368,\ in\ _call_function

 \  \ return\ checked_call\(self\.db,\ \*args,\ \*\*kwargs\)

 \ File\ "/home/odoo/src/odoo/15\.0/odoo/service/model\.py",\ line\ 94,\ in\ wrapper

 \  \ return\ f\(dbname,\ \*args,\ \*\*kwargs\)

 \ File\ "/home/odoo/src/odoo/15\.0/odoo/http\.py",\ line\ 357,\ in\ checked_call

 \  \ result\ =\ self\.endpoint\(\*a,\ \*\*kw\)

 \ File\ "/home/odoo/src/odoo/15\.0/odoo/http\.py",\ line\ 921,\ in\ __call__

 \  \ return\ self\.method\(\*args,\ \*\*kw\)

 \ File\ "/home/odoo/src/odoo/15\.0/odoo/http\.py",\ line\ 546,\ in\ response_wrap

 \  \ response\ =\ f\(\*args,\ \*\*kw\)

 \ File\ "/home/odoo/src/odoo/15\.0/addons/web/controllers/main\.py",\ line\ 1328,\ in\ call_button

 \  \ action\ =\ self\._call_kw\(model,\ method,\ args,\ kwargs\)

 \ File\ "/home/odoo/src/odoo/15\.0/addons/web/controllers/main\.py",\ line\ 1316,\ in\ _call_kw

 \  \ return\ call_kw\(request\.env\[model\],\ method,\ args,\ kwargs\)

 \ File\ "/home/odoo/src/odoo/15\.0/odoo/api\.py",\ line\ 469,\ in\ call_kw

 \  \ result\ =\ _call_kw_multi\(method,\ model,\ args,\ kwargs\)

 \ File\ "/home/odoo/src/odoo/15\.0/odoo/api\.py",\ line\ 456,\ in\ _call_kw_multi

 \  \ result\ =\ method\(recs,\ \*args,\ \*\*kwargs\)

 \ File\ "/home/odoo/src/odoo/15\.0/addons/portal/wizard/portal_wizard\.py",\ line\ 140,\ in\ action_grant_access

 \  \ user_sudo\ =\ self\.sudo\(\)\.with_company\(company\.id\)\._create_user\(\)

 \ File\ "/home/odoo/src/odoo/15\.0/addons/portal/wizard/portal_wizard\.py",\ line\ 199,\ in\ _create_user

 \  \ return\ self\.env\['res\.users'\]\.with_context\(no_reset_password=True\)\._create_user_from_template\(\{

 \ File\ "/home/odoo/src/odoo/15\.0/addons/auth_signup/models/res_users\.py",\ line\ 135,\ in\ _create_user_from_template

 \  \ raise\ ValueError\(_\('Signup:\ invalid\ template\ user'\)\)

Exception


The\ above\ exception\ was\ the\ direct\ cause\ of\ the\ following\ exception:


Traceback\ \(most\ recent\ call\ last\):

 \ File\ "/home/odoo/src/odoo/15\.0/odoo/http\.py",\ line\ 654,\ in\ _handle_exception

 \  \ return\ super\(JsonRequest,\ self\)\._handle_exception\(exception\)

 \ File\ "/home/odoo/src/odoo/15\.0/odoo/http.py", line 301, in _handle_exception

    raise exception.with_traceback(None) from new_cause

ValueError: Signup: invalid template user


0
Avatar
Ignorer
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Meilleure réponse

Hi,

This error can be caused due to an error in the template used when granting portal access to a partner. One way to solve this is under technical -> views (which you can see after enabling debug mode)Search for the template Signup and under the action menu, you get the option to Compare/Reset.


Hope it helps

1
Avatar
Ignorer
Natthanan Anancharoenpakorn
Auteur

Thank you so much for your help

Avatar
Nomadoo
Meilleure réponse

The error message "Signup: invalid template user" indicates that there is an issue with the template user used during the creation of a new user in the context of granting access to a portal in Odoo. This issue seems to be related to the portal module, which handles user access to the portal.


Here are some steps you can take to troubleshoot and resolve the issue:


    Check User Template:

    Ensure that the user template used for creating the portal user is valid and exists in the system. The template user is typically used as a reference when creating new portal users.


    Verify Portal Configuration:

    Check the portal configuration settings in Odoo. Verify that the user template specified for creating portal users is correct. This is usually configured in the settings of the portal module.


    Check Dependencies:

    Ensure that all dependencies, especially those related to the portal module, are correctly installed and up-to-date. Check for any updates or patches related to the portal module that might address this issue.


    Review User Creation Process:

    Review the user creation process, specifically in the context of granting access to the portal. Check if there are any customizations or modules that might interfere with the default behavior.


    Check User Roles and Access Rights:

    Verify that the user creating the portal user has the necessary roles and access rights to perform user creation operations. Ensure that there are no restrictions preventing the creation of portal users.


    Review Code and Customizations:

    If you have made customizations or have additional modules installed that interact with user creation or the portal module, review the code and check for any issues that might cause the "invalid template user" error.

1
Avatar
Ignorer
Natthanan Anancharoenpakorn
Auteur

Thank you so much for your help

Avatar
Benjamin
Meilleure réponse

The error message "ValueError: Signup: invalid template user" indicates, that the template portal user was deleted or can't be found. 

The following solution should work:

  1. Update "base" module to recreate the portal template user.
  2. Go to "Settings - Technical - System Parameters" (Developer Mode has to be activated)
  3. Edit the Parameter "base.template_portal_user_id" and add the ID of the new template portal user. If the parameter doesn't exist you can create it.


0
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Hide Projects/Tasks from user portal
portal v15
Avatar
Avatar
2
oct. 22
3646
Best way to ask for user data odoo15
portal forms v15
Avatar
0
août 23
2578
Quotation on portal Résolu
portal quotations v15
Avatar
Avatar
1
mars 25
5336
Trying to replace default “Invoices & Bills” breadcrumb in Odoo portal
portal
Avatar
Avatar
1
nov. 25
218
Dynamically update cart icon after adding products from a reorder popup in Custom Odoo portal
portal
Avatar
Avatar
1
nov. 25
242
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now