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
    • Intelligence artificielle
    • 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
    • Supermarché
    • 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
    • Homme à tout faire
    • 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
    • Devenir 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
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

hr_employee_public.timesheet_manager_id does not exist

S'inscrire

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

Cette question a été signalée
employee
1 Répondre
6172 Vues
Avatar
Marcus

Hi,

When I click on Personnel in Odoo 16 Enterprise (on premise) and then want to click on an employee, I get this error. Why?


RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/api\.py",\ line\ 984,\ in\ get
\ \ \ \ cache_value\ =\ field_cache\[record\._ids\[0\]\]
KeyError:\ 2

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

Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/fields\.py",\ line\ 1160,\ in\ __get__
\ \ \ \ value\ =\ env\.cache\.get\(record,\ self\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/api\.py",\ line\ 991,\ in\ get
\ \ \ \ raise\ CacheMiss\(record,\ field\)
odoo\.exceptions\.CacheMiss:\ 'hr\.employee\.public\(2,\)\.company_id'

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

Traceback\ \(most\ recent\ call\ last\):
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 1584,\ in\ _serve_db
\ \ \ \ return\ service_model\.retrying\(self\._serve_ir_http,\ self\.env\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/service/model\.py",\ line\ 133,\ in\ retrying
\ \ \ \ result\ =\ func\(\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 1611,\ in\ _serve_ir_http
\ \ \ \ response\ =\ self\.dispatcher\.dispatch\(rule\.endpoint,\ args\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 1815,\ in\ dispatch
\ \ \ \ result\ =\ self\.request\.registry\['ir\.http'\]\._dispatch\(endpoint\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/website/models/ir_http\.py",\ line\ 237,\ in\ _dispatch
\ \ \ \ response\ =\ super\(\)\._dispatch\(endpoint\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/base/models/ir_http\.py",\ line\ 154,\ in\ _dispatch
\ \ \ \ result\ =\ endpoint\(\*\*request\.params\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/http\.py",\ line\ 697,\ in\ route_wrapper
\ \ \ \ result\ =\ endpoint\(self,\ \*args,\ \*\*params_ok\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/hr_org_chart/controllers/hr_org_chart\.py",\ line\ 55,\ in\ get_org_chart
\ \ \ \ employee\ =\ self\._check_employee\(employee_id,\ \*\*kw\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/addons/hr_org_chart/controllers/hr_org_chart\.py",\ line\ 27,\ in\ _check_employee
\ \ \ \ Employee\.browse\(employee_id\)\.check_access_rule\('read'\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/models\.py",\ line\ 3474,\ in\ check_access_rule
\ \ \ \ invalid\ =\ self\ \-\ self\._filter_access_rules_python\(operation\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/models\.py",\ line\ 3529,\ in\ _filter_access_rules_python
\ \ \ \ return\ self\.sudo\(\)\.filtered_domain\(dom\ or\ \[\]\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/models\.py",\ line\ 5481,\ in\ filtered_domain
\ \ \ \ data\ =\ record\.mapped\(key\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/models\.py",\ line\ 5401,\ in\ mapped
\ \ \ \ recs\ =\ recs\._fields\[name\]\.mapped\(recs\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/fields\.py",\ line\ 1279,\ in\ mapped
\ \ \ \ self\.__get__\(first\(remaining\),\ type\(remaining\)\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/fields\.py",\ line\ 2799,\ in\ __get__
\ \ \ \ return\ super\(\)\.__get__\(records,\ owner\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/fields\.py",\ line\ 1186,\ in\ __get__
\ \ \ \ recs\._fetch_field\(self\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/models\.py",\ line\ 3190,\ in\ _fetch_field
\ \ \ \ self\._read\(fnames\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/models\.py",\ line\ 3267,\ in\ _read
\ \ \ \ cr\.execute\(query_str,\ params\ \+\ \[sub_ids\]\)
\ \ File\ "/usr/lib/python3/dist\-packages/odoo/sql_db\.py",\ line\ 321,\ in\ execute
\ \ \ \ res\ =\ self\._obj\.execute\(query,\ params\)
psycopg2\.errors\.UndefinedColumn:\ column\ hr_employee_public\.timesheet_manager_id\ does\ not\ exist
LINE\ 1:\ \.\.\.ic"\."expense_manager_id"\ AS\ "expense_manager_id",\ "hr_employ\.\.\.
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \^


The\ above\ server\ error\ caused\ the\ following\ client\ error:
OwlError:\ The\ following\ error\ occurred\ in\ onWillStart:\ "Odoo\ Server\ Error"
\ \ \ \ at\ wrapError\ \(https://odoo\.ittest\.com/web/assets/debug/web\.assets_common\.js:18999:23\)\ \(/web/static/lib/owl/owl\.js:2604\)
\ \ \ \ at\ onWillStart\ \(https://odoo\.ittest\.com/web/assets/debug/web\.assets_common\.js:19042:29\)\ \(/web/static/lib/owl/owl\.js:2647\)
\ \ \ \ at\ HrOrgChart\.setup\ \(https://odoo\.ittest\.com/web/assets/debug/web\.assets_backend\.js:273619:9\)\ \(/hr_org_chart/static/src/fields/hr_org_chart\.js:67\)
\ \ \ \ at\ new\ ComponentNode\ \(https://odoo\.ittest\.com/web/assets/debug/web\.assets_common\.js:18751:28\)\ \(/web/static/lib/owl/owl\.js:2356\)
\ \ \ \ at\ https://odoo\.ittest\.com/web/assets/debug/web\.assets_common\.js:22176:28\ \(/web/static/lib/owl/owl\.js:5781\)
\ \ \ \ at\ Field\.template\ \(eval\ at\ compile\ \(https://odoo\.ittest\.com/web/assets/debug/web\.assets_common\.js:21942:20\),\ :18:31\)\ \(/web/static/lib/owl/owl\.js:5547\)
\ \ \ \ at\ Fiber\._render\ \(https://odoo\.ittest\.com/web/assets/debug/web\.assets_common\.js:18117:38\)\ \(/web/static/lib/owl/owl\.js:1722\)
\ \ \ \ at\ Fiber\.render\ \(https://odoo\.ittest\.com/web/assets/debug/web\.assets_common\.js:18109:18\)\ \(/web/static/lib/owl/owl\.js:1714\)
\ \ \ \ at\ ComponentNode\.initiateRender\ \(https://odoo\.ittest\.com/web/assets/debug/web\.assets_common\.js:18773:23\)\ \(/web/static/lib/owl/owl\.js:2378\)

Caused\ by:\ RPC_ERROR:\ Odoo\ Server\ Error
\ \ \ \ at\ makeErrorFromResponse\ \(https://odoo\.ittest\.com/web/assets/debug/web\.assets_backend\.js:10565:19\)\ \(/web/static/src/core/network/rpc_service\.js:34\)
\ \ \ \ at\ XMLHttpRequest\.\ \(https://odoo.ittest.com/web/assets/debug/web.assets_backend.js:10618:27) (/web/static/src/core/network/rpc_service.js:87)
0
Avatar
Ignorer
Avatar
Tatsuki Kanda
Meilleure réponse

Hello Marcus

I faced the same problem as you and found a solution.

When I looked at the DB with postgres, the timesheet_manager_id field was not exist in the he_employee_public model.

So I updated the timesheet_grid module, which added the timesheet_manager_id field and solved the problem.

I hope this solution will help you.



0
Avatar
Ignorer
Mohamed Suliman

Thanks @Tatsuki, this solved the issue.

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é
how to create employee as an user Résolu
employee
Avatar
Avatar
Avatar
Avatar
Avatar
4
déc. 25
36237
Recurring training
employee
Avatar
0
déc. 25
9198
Employee Bank Account Number Résolu
employee
Avatar
Avatar
Avatar
2
juil. 24
4158
PROBLEM - BEUG RENCONTRER LORSQUE J'ESSAIE D'OUVRIR UN EMPLOYEE sur la base odoo
employee
Avatar
0
mai 23
4036
Work@Home tracking for Employees (BE)
employee
Avatar
0
janv. 23
3390
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
  • Devenir 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 Svenska ภาษาไทย 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