Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

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

Naroči se

Get notified when there's activity on this post

This question has been flagged
portalv15
3 Odgovori
3789 Prikazi
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
Opusti
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

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
Opusti
Natthanan Anancharoenpakorn
Avtor

Thank you so much for your help

Avatar
Nomadoo
Best Answer

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
Opusti
Natthanan Anancharoenpakorn
Avtor

Thank you so much for your help

Avatar
Benjamin
Best Answer

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
Opusti
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Hide Projects/Tasks from user portal
portal v15
Avatar
Avatar
2
okt. 22
3657
Best way to ask for user data odoo15
portal forms v15
Avatar
0
avg. 23
2586
Quotation on portal Solved
portal quotations v15
Avatar
Avatar
1
mar. 25
5348
Trying to replace default “Invoices & Bills” breadcrumb in Odoo portal
portal
Avatar
Avatar
1
nov. 25
237
Dynamically update cart icon after adding products from a reorder popup in Custom Odoo portal
portal
Avatar
Avatar
1
nov. 25
244
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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