Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    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 Managament
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Producție
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and 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
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

Error on task view on web

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
webclient
1 Răspunde
1532 Vizualizări
Imagine profil
Liviu Buligan

Hi everybody.
I have a pretty standard Odoo Enterprise On-Premise installation. When trying to access as an external user the task details of a project, I have the following error:


odoo.addons.base.models.ir_qweb.QWebException: Error while render the template
ValueError: View 'web.csrf_token' in website 1 not found
Template: project.portal_my_task

0
Imagine profil
Abandonează
Liviu Buligan
Autor

Thank you for your elaborated answer. It gives me a nice path to start searching.
I found a custom view that was created during some tests, so It fixed my problem! Thanks a lot!

Imagine profil
Christoph Farnleitner
Cel mai bun răspuns

'pretty standard' could be anything. Given the details provided I can only help you to try and find the problem - reason for it being there in the first place and what to actually do about it is a different story. But, let's give it a shot:

Enable Developer Mode (https://www.odoo.com/documentation/18.0/applications/general/developer_mode.html), then navigate to Settings -> Technical --> User Interface -> Views.
In there, perform a search for View Architecture 'web.csrf_token':


From here it's guess work, mainly because I wouldn't be aware about any occurrence of web.csrf_token in any recent Odoo version, hence Odoo can't find it either.

The correct call would be for request.csrf_token(), in case we're taking about a t-att'd value-attribute for a hidden input field (for example https://github.com/odoo/odoo/blob/18.0/addons/portal/views/portal_templates.xml#L444). If you happen to find a record matching that search criteria, this is your troublesome view. Chances are that it in fact is within the mentioned project.portal_my_task template.

Another reason could be that the xml parsing leads to the 'assumption' it is about web's csrf_token-view - which would mean, in case you can't find anything with above search, that you'll have to search for View Architecture 'csrf_token' only (without web.) - which will return quite some results. Again, chances are it is actually about a modification done directly within project.portal_my_task, so maybe try and go for that view in the beginning anyways.

Since the csrf token is needed for a web form to work properly and if a custom form added to the project view in question rings a bell, that's where you have to go start digging.

0
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

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

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Track visitors on Website
webclient
Imagine profil
Imagine profil
1
oct. 25
571
validator.schema.org error on field listPrice
webclient
Imagine profil
0
sept. 25
791
After activating, then disabling, 2FA - one of our users can no longer log in. He is still being asked for an Authenticator code. Rezolvat
webclient
Imagine profil
Imagine profil
2
iul. 25
1418
How to Effectively Integrate ChatGPT (or AI Tools) into Business Processes?
webclient
Imagine profil
Imagine profil
Imagine profil
2
iul. 25
3695
Hover en el listing de productos
webclient
Imagine profil
Imagine profil
1
apr. 25
1421
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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