Siirry sisältöön
Odoo Menu
  • Kirjaudu sisään
  • Kokeile ilmaiseksi
  • Sovellukset
    Talous
    • Kirjanpito
    • Laskutus
    • Kulut
    • Datataulukot (BI)
    • Asiakirjat
    • Allekirjoita
    Myynti
    • CRM
    • Myynti
    • Kassajärjestelmä myymälään
    • Kassajärjestelmä ravintolaan
    • Tilaukset
    • Vuokraus
    Verkkosivut
    • Verkkosivun Rakennustyökalu
    • Verkkokauppa
    • Blogi
    • Foorumi
    • Livechat
    • Verkko-oppiminen
    Toimitusketju
    • Varastointi
    • Tuotanto
    • Tuotteen elinkaaren hallinta (PLM)
    • Ostot
    • Huolto
    • Laatu
    Henkilöstöhallinto
    • Työntekijät
    • Rekrytointi
    • Vapaat
    • Arvioinnit
    • Suositukset
    • Kuljetuskalusto
    Markkinointi
    • Somemarkkinointi
    • Sähköpostimarkkinointi
    • Tekstiviestimarkkinointi
    • Tapahtumat
    • Markkinoinnin automaatio
    • Kyselyt
    Palvelut
    • Projekti
    • Työaikakirjaukset
    • Kenttähuolto
    • Asiakaspalvelu
    • Suunnittelu
    • Ajanvaraukset
    Tuottavuus
    • Viestintä
    • Hyväksynnät
    • IoT
    • IP-puhe
    • Tietokirjasto
    • WhatsApp
    Kolmannen osapuolen sovellukset Odoo-Studio Odoo-Pilvialusta
  • Toimialat
    Vähittäiskauppa
    • Kirjakauppa
    • Vaatekauppa
    • Huonekaluliike
    • Ruokakauppa
    • Laitteistokauppa
    • Lelukauppa
    Ruoka & Majoitus
    • Baari ja Pubi
    • Ravintola
    • Pikaruoka
    • Majatalo
    • Juomien jakelija
    • Hotelli
    Kiinteistöt
    • Kiinteistönvälitystoimisto
    • Arkkitehtitoimisto
    • Rakentaminen
    • Kiinteistönhallinta
    • Puutarhanhoito
    • Kiinteistön omistajien yhdistys
    Konsultointi
    • Tilitoimisto
    • Odoo-kumppani
    • Markkinointitoimisto
    • Lakitoimisto
    • Osaajahankinta
    • Tilintarkastus & sertifiointi
    Tuotanto
    • Tekstiili
    • Metalli
    • Huonekalut
    • Ruoka
    • Panimo
    • Yrityslahjat
    Terveys & Liikunta
    • Urheiluseura
    • Silmälasiliike
    • Kuntokeskus
    • Hyvinvointialan ammattilaiset
    • Apteekki
    • Kampaamo
    Kaupat
    • Yleismies
    • IT-laitteisto & Tuki
    • Aurinkoenergiajärjestelmät
    • Suutari
    • Siivouspalvelut
    • LVI-palvelut
    Muut
    • Voittoa tavoittelematon järjestö
    • Ympäristötoimisto
    • Mainostaulujen vuokraus  
    • Valokuvaus
    • Leasing-pyörät
    • Ohjelmistojen jälleenmyyjä
    Selaa kaikkia toimialoja
  • Yhteisö
    Opi
    • Kurssit
    • Dokumentaatio
    • Todistukset
    • Koulutus
    • Blogi
    • Podcast
    Kannusta kouluttautumaan
    • Koulutusohjelmat
    • Scale Up! Liiketoimintapeli
    • Vieraile Odoolla
    Hanki ohjelmisto
    • Lataa
    • Vertaile versioita
    • Julkaisut
    Tee yhteistyötä
    • Github
    • Foorumi
    • Tapahtumat
    • Käännökset
    • Ryhdy kumppaniksi
    • Kumppanipalvelut
    • Rekisteröi tilitoimistosi
    Hanki palveluja
    • Löydä kumppani
    • Löydä kirjanpitäjä
    • Varaa asiantuntijatapaaminen
    • Implementaatiopalvelut
    • Asiakasreferenssit
    • Tuki
    • Versionkorotukset
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Varaa demo
  • Hinnoittelu
  • Asiakaspalvelu

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

  • CRM
  • e-Commerce
  • Kirjanpito
  • Varastointi
  • PoS
  • Projekti
  • MRP
All apps
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Kaikki kirjoitukset Ihmiset Merkit
Tunnisteet (Näytä kaikki)
odoo accounting v14 pos v15
Tietoa tästä foorumista
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Kaikki kirjoitukset Ihmiset Merkit
Tunnisteet (Näytä kaikki)
odoo accounting v14 pos v15
Tietoa tästä foorumista
Apua

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

Tilaa

Saat ilmoituksen, kun tähän viestiin ilmaantuu aktiviteettia

Tämä kysymys on merkitty
portalv15
3 Vastaukset
3867 Näkymät
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
Hylkää
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Paras vastaus

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
Hylkää
Natthanan Anancharoenpakorn
Tekijä

Thank you so much for your help

Avatar
Nomadoo
Paras vastaus

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
Hylkää
Natthanan Anancharoenpakorn
Tekijä

Thank you so much for your help

Avatar
Benjamin
Paras vastaus

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
Hylkää
Nautitko keskustelusta? Älä vain lue, vaan osallistu!

Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!

Rekisteröidy
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
Hide Projects/Tasks from user portal
portal v15
Avatar
Avatar
2
lokak. 22
3705
Best way to ask for user data odoo15
portal forms v15
Avatar
0
elok. 23
2617
Quotation on portal Ratkaistu
portal quotations v15
Avatar
Avatar
1
maalisk. 25
5414
Trying to replace default “Invoices & Bills” breadcrumb in Odoo portal
portal
Avatar
Avatar
1
marrask. 25
360
Dynamically update cart icon after adding products from a reorder popup in Custom Odoo portal
portal
Avatar
Avatar
1
marrask. 25
287
Yhteisö
  • Kurssit
  • Dokumentaatio
  • Foorumi
Avoin lähdekoodi
  • Lataa
  • Github
  • Runbot
  • Käännökset
Palvelut
  • Odoo.sh hosting
  • Tuki
  • Versionkorotus
  • Räätälöidyt kehitykset
  • Koulutus
  • Löydä kirjanpitäjä
  • Löydä kumppani
  • Ryhdy kumppaniksi
Meistä
  • Yrityksemme
  • Tavaramerkki
  • Ota yhteyttä
  • Työpaikat
  • Tapahtumat
  • Podcast
  • Blogi
  • Asiakkaat
  • Oikeudellinen ilmoitus • Yksityisyys
  • Tietoturva
الْعَرَبيّة 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 on kokoelma avoimen lähdekoodin yrityssovelluksia, jotka kattavat kaikki yrityksesi tarpeet: asiakkuudenhallinta eli CRM, verkkokauppa, kirjanpito, varastointi, kassajärjestelmä, projektinhallinta, jne.

Odoon uniikki arvolupaus on olla samanaikaisesti erittäin helppokäyttöinen ja täysin integroitu.

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