Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Artificial Intelligence
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Property Management
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

hr_employee_public.timesheet_manager_id does not exist

Subscriure's

Get notified when there's activity on this post

This question has been flagged
employee
1 Respondre
6066 Vistes
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
Descartar
Avatar
Tatsuki Kanda
Best Answer

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
Descartar
Mohamed Suliman

Thanks @Tatsuki, this solved the issue.

Enjoying the discussion? Don't just read, join in!

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

Registrar-se
Related Posts Respostes Vistes Activitat
how to create employee as an user Solved
employee
Avatar
Avatar
Avatar
Avatar
Avatar
4
de des. 25
36054
Recurring training
employee
Avatar
0
de des. 25
9082
Employee Bank Account Number Solved
employee
Avatar
Avatar
Avatar
2
de jul. 24
4087
PROBLEM - BEUG RENCONTRER LORSQUE J'ESSAIE D'OUVRIR UN EMPLOYEE sur la base odoo
employee
Avatar
0
de maig 23
4003
Work@Home tracking for Employees (BE)
employee
Avatar
0
de gen. 23
3316
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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