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
    Restauration & Hôtellerie
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Bricoleur
    • Matériel informatique & support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Parcourir toutes les 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 pour partenaires
    • 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

AccessError: You are not allowed to access 'View'

S'inscrire

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

Cette question a été signalée
1 Répondre
3114 Vues
Avatar
Pete Charalampopoulos

Hi, I have an issues with my customers being able to see their sale orders from the portal.

when the customer clicks on the Sale Orders then instead of population the list of the sale orders,this shows up

403: Forbidden

The page you were looking for could not be authorized.


This is what i see in the log file:


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/odoo/fields\.py",\ line\ 1082,\ in\ __get__

\ \ \ \ value\ =\ env\.cache\.get\(record,\ self\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/api\.py",\ line\ 889,\ in\ get

\ \ \ \ raise\ CacheMiss\(record,\ field\)

odoo\.exceptions\.CacheMiss:\ 'ir\.ui\.view\(1019,\)\.name'


During\ handling\ of\ the\ above\ exception,\ another\ exception\ occurred:


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

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/cache\.py",\ line\ 85,\ in\ lookup

\ \ \ \ r\ =\ d\[key\]

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/func\.py",\ line\ 71,\ in\ wrapper

\ \ \ \ return\ func\(self,\ \*args,\ \*\*kwargs\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/lru\.py",\ line\ 34,\ in\ __getitem__

\ \ \ \ a\ =\ self\.d\[obj\]

KeyError:\ \('ir\.model\.access',\ ,\ 133,\ False,\ 'ir\.ui\.view',\ 'read',\ True,\ \('en_US',\)\)


During\ handling\ of\ the\ above\ exception,\ another\ exception\ occurred:


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

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/fields\.py",\ line\ 1108,\ in\ __get__

\ \ \ \ recs\._fetch_field\(self\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/models\.py",\ line\ 3278,\ in\ _fetch_field

\ \ \ \ self\._read\(fnames\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/custom\-addons/smile_audit/models/base\.py",\ line\ 14,\ in\ _read

\ \ \ \ super\(Base,\ self\)\._read\(field_names\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/models\.py",\ line\ 3292,\ in\ _read

\ \ \ \ self\.check_access_rights\('read'\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/models\.py",\ line\ 3549,\ in\ check_access_rights

\ \ \ \ return\ self\.env\['ir\.model\.access'\]\.check\(self\._name,\ operation,\ raise_exception\)

\ \ File\ "",\ line\ 2,\ in\ check

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/cache\.py",\ line\ 90,\ in\ lookup

\ \ \ \ value\ =\ d\[key\]\ =\ self\.method\(\*args,\ \*\*kwargs\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/ir_model\.py",\ line\ 1829,\ in\ check

\ \ \ \ raise\ AccessError\(msg\)

odoo\.exceptions\.AccessError:\ You\ are\ not\ allowed\ to\ access\ 'View'\ \(ir\.ui\.view\)\ records\.


This\ operation\ is\ allowed\ for\ the\ following\ groups:

\ \-\ Administration/Settings

\ \-\ Website/Editor\ and\ Designer

\ \-\ Website/Restricted\ Editor


Contact\ your\ administrator\ to\ request\ access\ if\ necessary\.


During\ handling\ of\ the\ above\ exception,\ another\ exception\ occurred:


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

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/cache\.py",\ line\ 85,\ in\ lookup

\ \ \ \ r\ =\ d\[key\]

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/func\.py",\ line\ 71,\ in\ wrapper

\ \ \ \ return\ func\(self,\ \*args,\ \*\*kwargs\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/lru\.py",\ line\ 34,\ in\ __getitem__

\ \ \ \ a\ =\ self\.d\[obj\]

KeyError:\ \('ir\.model\.access',\ ,\ 133,\ False,\ 'ir\.ui\.view',\ 'read',\ True,\ \('en_US',\)\)


During\ handling\ of\ the\ above\ exception,\ another\ exception\ occurred:


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

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/qweb\.py",\ line\ 219,\ in\ render_template

\ \ \ \ yield\ from\ compiled_fn\(self,\ values,\ log\)

\ \ File\ "",\ line\ 37,\ in\ template_435

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/fields\.py",\ line\ 1110,\ in\ __get__

\ \ \ \ record\._fetch_field\(self\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/models\.py",\ line\ 3278,\ in\ _fetch_field

\ \ \ \ self\._read\(fnames\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/custom\-addons/smile_audit/models/base\.py",\ line\ 14,\ in\ _read

\ \ \ \ super\(Base,\ self\)\._read\(field_names\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/models\.py",\ line\ 3292,\ in\ _read

\ \ \ \ self\.check_access_rights\('read'\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/models\.py",\ line\ 3549,\ in\ check_access_rights

\ \ \ \ return\ self\.env\['ir\.model\.access'\]\.check\(self\._name,\ operation,\ raise_exception\)

\ \ File\ "",\ line\ 2,\ in\ check

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/cache\.py",\ line\ 90,\ in\ lookup

\ \ \ \ value\ =\ d\[key\]\ =\ self\.method\(\*args,\ \*\*kwargs\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/ir_model\.py",\ line\ 1829,\ in\ check

\ \ \ \ raise\ AccessError\(msg\)

odoo\.exceptions\.AccessError:\ You\ are\ not\ allowed\ to\ access\ 'View'\ \(ir\.ui\.view\)\ records\.


This\ operation\ is\ allowed\ for\ the\ following\ groups:

\ \-\ Administration/Settings

\ \-\ Website/Editor\ and\ Designer

\ \-\ Website/Restricted\ Editor


Contact\ your\ administrator\ to\ request\ access\ if\ necessary\.


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


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

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/ir_http\.py",\ line\ 237,\ in\ _dispatch

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

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 815,\ in\ dispatch

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

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 368,\ in\ _call_function

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

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/service/model\.py",\ line\ 94,\ in\ wrapper

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

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 360,\ in\ checked_call

\ \ \ \ result\.flatten\(\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 1241,\ in\ flatten

\ \ \ \ self\.response\.append\(self\.render\(\)\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 1234,\ in\ render

\ \ \ \ return\ env\["ir\.ui\.view"\]\._render_template\(self\.template,\ self\.qcontext\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/ir_ui_view\.py",\ line\ 1992,\ in\ _render_template

\ \ \ \ return\ self\.browse\(self\.get_view_id\(template\)\)\._render\(values,\ engine\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/website/models/ir_ui_view\.py",\ line\ 436,\ in\ _render

\ \ \ \ return\ super\(View,\ self\)\._render\(values,\ engine=engine,\ minimal_qcontext=minimal_qcontext\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/web_editor/models/ir_ui_view\.py",\ line\ 29,\ in\ _render

\ \ \ \ return\ super\(IrUiView,\ self\)\._render\(values=values,\ engine=engine,\ minimal_qcontext=minimal_qcontext\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/ir_ui_view\.py",\ line\ 2000,\ in\ _render

\ \ \ \ return\ self\.env\[engine\]\._render\(self\.id,\ qcontext\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/web_studio/models/ir_qweb\.py",\ line\ 47,\ in\ _render

\ \ \ \ return\ super\(IrQWeb,\ self\)\._render\(template,\ values=values,\ \*\*options\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/profiler\.py",\ line\ 292,\ in\ _tracked_method_render

\ \ \ \ return\ method_render\(self,\ template,\ values,\ \*\*options\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/ir_qweb\.py",\ line\ 76,\ in\ _render

\ \ \ \ result\ =\ super\(\)\._render\(template,\ values=values,\ \*\*compile_options\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/qweb\.py",\ line\ 134,\ in\ _render

\ \ \ \ result\ =\ ''\.join\(rendering\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/qweb\.py",\ line\ 221,\ in\ render_template

\ \ \ \ raise\ e

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/qweb\.py",\ line\ 219,\ in\ render_template

\ \ \ \ yield\ from\ compiled_fn\(self,\ values,\ log\)

\ \ File\ "",\ line\ 183,\ in\ template_1019

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/qweb\.py",\ line\ 221,\ in\ render_template

\ \ \ \ raise\ e

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/qweb\.py",\ line\ 219,\ in\ render_template

\ \ \ \ yield\ from\ compiled_fn\(self,\ values,\ log\)

\ \ File\ "",\ line\ 131,\ in\ template_441

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/qweb\.py",\ line\ 223,\ in\ render_template

\ \ \ \ raise\ QWebException\("Error\ when\ render\ the\ template",\ self,\ options,

Exception


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


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

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/ir_http\.py",\ line\ 237,\ in\ _dispatch

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

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 815,\ in\ dispatch

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

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 368,\ in\ _call_function

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

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/service/model\.py",\ line\ 94,\ in\ wrapper

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

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 360,\ in\ checked_call

\ \ \ \ result\.flatten\(\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 1241,\ in\ flatten

\ \ \ \ self\.response\.append\(self\.render\(\)\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 1234,\ in\ render

\ \ \ \ return\ env\["ir\.ui\.view"\]\._render_template\(self\.template,\ self\.qcontext\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/ir_ui_view\.py",\ line\ 1992,\ in\ _render_template

\ \ \ \ return\ self\.browse\(self\.get_view_id\(template\)\)\._render\(values,\ engine\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/website/models/ir_ui_view\.py",\ line\ 436,\ in\ _render

\ \ \ \ return\ super\(View,\ self\)\._render\(values,\ engine=engine,\ minimal_qcontext=minimal_qcontext\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/web_editor/models/ir_ui_view\.py",\ line\ 29,\ in\ _render

\ \ \ \ return\ super\(IrUiView,\ self\)\._render\(values=values,\ engine=engine,\ minimal_qcontext=minimal_qcontext\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/ir_ui_view\.py",\ line\ 2000,\ in\ _render

\ \ \ \ return\ self\.env\[engine\]\._render\(self\.id,\ qcontext\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/web_studio/models/ir_qweb\.py",\ line\ 47,\ in\ _render

\ \ \ \ return\ super\(IrQWeb,\ self\)\._render\(template,\ values=values,\ \*\*options\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/profiler\.py",\ line\ 292,\ in\ _tracked_method_render

\ \ \ \ return\ method_render\(self,\ template,\ values,\ \*\*options\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/ir_qweb\.py",\ line\ 76,\ in\ _render

\ \ \ \ result\ =\ super\(\)\._render\(template,\ values=values,\ \*\*compile_options\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/qweb\.py",\ line\ 134,\ in\ _render

\ \ \ \ result\ =\ ''\.join\(rendering\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/qweb\.py",\ line\ 221,\ in\ render_template

\ \ \ \ raise\ e

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/qweb\.py",\ line\ 219,\ in\ render_template

\ \ \ \ yield\ from\ compiled_fn\(self,\ values,\ log\)

\ \ File\ "",\ line\ 183,\ in\ template_1019

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/qweb\.py",\ line\ 221,\ in\ render_template

\ \ \ \ raise\ e

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/qweb\.py",\ line\ 219,\ in\ render_template

\ \ \ \ yield\ from\ compiled_fn\(self,\ values,\ log\)

\ \ File\ "",\ line\ 131,\ in\ template_441

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/qweb\.py",\ line\ 223,\ in\ render_template

\ \ \ \ raise\ QWebException\("Error\ when\ render\ the\ template",\ self,\ options,

odoo\.addons\.base\.models\.qweb\.QWebException:\ You\ are\ not\ allowed\ to\ access\ 'View'\ \(ir\.ui\.view\)\ records\.


This\ operation\ is\ allowed\ for\ the\ following\ groups:

\ \-\ Administration/Settings

\ \-\ Website/Editor\ and\ Designer

\ \-\ Website/Restricted\ Editor


Contact\ your\ administrator\ to\ request\ access\ if\ necessary\.

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

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/api\.py",\ line\ 886,\ in\ get

\ \ \ \ return\ field_cache\[record\._ids\[0\]\]

KeyError:\ 1019


During\ handling\ of\ the\ above\ exception,\ another\ exception\ occurred:


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

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/fields\.py",\ line\ 1082,\ in\ __get__

\ \ \ \ value\ =\ env\.cache\.get\(record,\ self\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/api\.py",\ line\ 889,\ in\ get

\ \ \ \ raise\ CacheMiss\(record,\ field\)

odoo\.exceptions\.CacheMiss:\ 'ir\.ui\.view\(1019,\)\.name'


During\ handling\ of\ the\ above\ exception,\ another\ exception\ occurred:


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

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/cache\.py",\ line\ 85,\ in\ lookup

\ \ \ \ r\ =\ d\[key\]

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/func\.py",\ line\ 71,\ in\ wrapper

\ \ \ \ return\ func\(self,\ \*args,\ \*\*kwargs\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/lru\.py",\ line\ 34,\ in\ __getitem__

\ \ \ \ a\ =\ self\.d\[obj\]

KeyError:\ \('ir\.model\.access',\ ,\ 133,\ False,\ 'ir\.ui\.view',\ 'read',\ True,\ \('en_US',\)\)


During\ handling\ of\ the\ above\ exception,\ another\ exception\ occurred:


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

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/fields\.py",\ line\ 1108,\ in\ __get__

\ \ \ \ recs\._fetch_field\(self\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/models\.py",\ line\ 3278,\ in\ _fetch_field

\ \ \ \ self\._read\(fnames\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/custom\-addons/smile_audit/models/base\.py",\ line\ 14,\ in\ _read

\ \ \ \ super\(Base,\ self\)\._read\(field_names\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/models\.py",\ line\ 3292,\ in\ _read

\ \ \ \ self\.check_access_rights\('read'\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/models\.py",\ line\ 3549,\ in\ check_access_rights

\ \ \ \ return\ self\.env\['ir\.model\.access'\]\.check\(self\._name,\ operation,\ raise_exception\)

\ \ File\ "",\ line\ 2,\ in\ check

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/cache\.py",\ line\ 90,\ in\ lookup

\ \ \ \ value\ =\ d\[key\]\ =\ self\.method\(\*args,\ \*\*kwargs\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/ir_model\.py",\ line\ 1829,\ in\ check

\ \ \ \ raise\ AccessError\(msg\)

odoo\.exceptions\.AccessError:\ You\ are\ not\ allowed\ to\ access\ 'View'\ \(ir\.ui\.view\)\ records\.


This\ operation\ is\ allowed\ for\ the\ following\ groups:

\ \-\ Administration/Settings

\ \-\ Website/Editor\ and\ Designer

\ \-\ Website/Restricted\ Editor


Contact\ your\ administrator\ to\ request\ access\ if\ necessary\.


During\ handling\ of\ the\ above\ exception,\ another\ exception\ occurred:


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

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/cache\.py",\ line\ 85,\ in\ lookup

\ \ \ \ r\ =\ d\[key\]

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/func\.py",\ line\ 71,\ in\ wrapper

\ \ \ \ return\ func\(self,\ \*args,\ \*\*kwargs\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/lru\.py",\ line\ 34,\ in\ __getitem__

\ \ \ \ a\ =\ self\.d\[obj\]

KeyError:\ \('ir\.model\.access',\ ,\ 133,\ False,\ 'ir\.ui\.view',\ 'read',\ True,\ \('en_US',\)\)


During\ handling\ of\ the\ above\ exception,\ another\ exception\ occurred:


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

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/qweb\.py",\ line\ 219,\ in\ render_template

\ \ \ \ yield\ from\ compiled_fn\(self,\ values,\ log\)

\ \ File\ "",\ line\ 37,\ in\ template_435

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/fields\.py",\ line\ 1110,\ in\ __get__

\ \ \ \ record\._fetch_field\(self\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/models\.py",\ line\ 3278,\ in\ _fetch_field

\ \ \ \ self\._read\(fnames\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/custom\-addons/smile_audit/models/base\.py",\ line\ 14,\ in\ _read

\ \ \ \ super\(Base,\ self\)\._read\(field_names\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/models\.py",\ line\ 3292,\ in\ _read

\ \ \ \ self\.check_access_rights\('read'\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/models\.py",\ line\ 3549,\ in\ check_access_rights

\ \ \ \ return\ self\.env\['ir\.model\.access'\]\.check\(self\._name,\ operation,\ raise_exception\)

\ \ File\ "",\ line\ 2,\ in\ check

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/tools/cache\.py",\ line\ 90,\ in\ lookup

\ \ \ \ value\ =\ d\[key\]\ =\ self\.method\(\*args,\ \*\*kwargs\)

\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/ir_model\.py",\ line\ 1829,\ in\ check

\ \ \ \ raise\ AccessError\(msg\)

odoo\.exceptions\.AccessError:\ You\ are\ not\ allowed\ to\ access\ 'View'\ \(ir\.ui\.view\)\ records\.


This\ operation\ is\ allowed\ for\ the\ following\ groups:

\ \-\ Administration/Settings

\ \-\ Website/Editor\ and\ Designer

\ \-\ Website/Restricted\ Editor


Contact\ your\ administrator\ to\ request\ access\ if\ necessary\.


Error\ when\ render\ the\ template

AccessError:\ You\ are\ not\ allowed\ to\ access\ 'View'\ \(ir.ui.view) records.


This operation is allowed for the following groups:

- Administration/Settings

- Website/Editor and Designer

- Website/Restricted Editor


Contact your administrator to request access if necessary.

Template: portal.frontend_layout

Path: /t/html/t[1]/t[1]/t

Node:



Can you please help?


Thanks in advance


0
Avatar
Ignorer
Niyas Raphy (Walnut Software Solutions)

Did you have any custom codes added in your db and it is causing the problem ? Or it is also reproducible in standard version of odoo in runbot ?

Avatar
Pete Charalampopoulos
Auteur Meilleure réponse

Its weird because i have a sandbox copy of this database and that one works just fine


i checked all spots for permissions and they look fine to me


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
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