Siirry sisältöön
Odoo Menu
  • Kirjaudu sisään
  • Kokeile ilmaiseksi
  • Sovellukset
    Talous
    • Kirjanpito
    • Laskutus
    • Kulut
    • Datataulukot (BI)
    • Asiakirjat
    • Allekirjoita
    Myynti
    • CRM
    • Myynti
    • Kassajärjestelmä myymälään
    • Kassajärjestelmä ravintolaan
    • Tilaukset
    • Vuokraus
    Verkkosivut
    • Verkkosivun Rakennustyökalu
    • Verkkokauppa
    • Blogi
    • Foorumi
    • Livechat
    • Verkko-oppiminen
    Toimitusketju
    • Varastointi
    • Tuotanto
    • Tuotteen elinkaaren hallinta (PLM)
    • Ostot
    • Huolto
    • Laatu
    Henkilöstöhallinto
    • Työntekijät
    • Rekrytointi
    • Vapaat
    • Arvioinnit
    • Suositukset
    • Kuljetuskalusto
    Markkinointi
    • Somemarkkinointi
    • Sähköpostimarkkinointi
    • Tekstiviestimarkkinointi
    • Tapahtumat
    • Markkinoinnin automaatio
    • Kyselyt
    Palvelut
    • Projekti
    • Työaikakirjaukset
    • Kenttähuolto
    • Asiakaspalvelu
    • Suunnittelu
    • Ajanvaraukset
    Tuottavuus
    • Viestintä
    • Hyväksynnät
    • IoT
    • IP-puhe
    • Tietokirjasto
    • WhatsApp
    Kolmannen osapuolen sovellukset Odoo-Studio Odoo-Pilvialusta
  • Toimialat
    Vähittäiskauppa
    • Kirjakauppa
    • Vaatekauppa
    • Huonekaluliike
    • Ruokakauppa
    • Laitteistokauppa
    • Lelukauppa
    Ruoka & Majoitus
    • Baari ja Pubi
    • Ravintola
    • Pikaruoka
    • Majatalo
    • Juomien jakelija
    • Hotelli
    Kiinteistöt
    • Kiinteistönvälitystoimisto
    • Arkkitehtitoimisto
    • Rakentaminen
    • Kiinteistönhallinta
    • Puutarhanhoito
    • Kiinteistön omistajien yhdistys
    Konsultointi
    • Tilitoimisto
    • Odoo-kumppani
    • Markkinointitoimisto
    • Lakitoimisto
    • Osaajahankinta
    • Tilintarkastus & sertifiointi
    Tuotanto
    • Tekstiili
    • Metalli
    • Huonekalut
    • Ruoka
    • Panimo
    • Yrityslahjat
    Terveys & Liikunta
    • Urheiluseura
    • Silmälasiliike
    • Kuntokeskus
    • Hyvinvointialan ammattilaiset
    • Apteekki
    • Kampaamo
    Kaupat
    • Yleismies
    • IT-laitteisto & Tuki
    • Aurinkoenergiajärjestelmät
    • Suutari
    • Siivouspalvelut
    • LVI-palvelut
    Muut
    • Voittoa tavoittelematon järjestö
    • Ympäristötoimisto
    • Mainostaulujen vuokraus  
    • Valokuvaus
    • Leasing-pyörät
    • Ohjelmistojen jälleenmyyjä
    Selaa kaikkia toimialoja
  • Yhteisö
    Opi
    • Kurssit
    • Dokumentaatio
    • Todistukset
    • Koulutus
    • Blogi
    • Podcast
    Kannusta kouluttautumaan
    • Koulutusohjelmat
    • Scale Up! Liiketoimintapeli
    • Vieraile Odoolla
    Hanki ohjelmisto
    • Lataa
    • Vertaile versioita
    • Julkaisut
    Tee yhteistyötä
    • Github
    • Foorumi
    • Tapahtumat
    • Käännökset
    • Ryhdy kumppaniksi
    • Kumppanipalvelut
    • Rekisteröi tilitoimistosi
    Hanki palveluja
    • Löydä kumppani
    • Löydä kirjanpitäjä
    • Varaa asiantuntijatapaaminen
    • Implementaatiopalvelut
    • Asiakasreferenssit
    • Tuki
    • Versionkorotukset
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Varaa demo
  • Hinnoittelu
  • Asiakaspalvelu

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

  • CRM
  • e-Commerce
  • Kirjanpito
  • Varastointi
  • PoS
  • Projekti
  • MRP
All apps
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Kaikki kirjoitukset Ihmiset Merkit
Tunnisteet (Näytä kaikki)
odoo accounting v14 pos v15
Tietoa tästä foorumista
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Kaikki kirjoitukset Ihmiset Merkit
Tunnisteet (Näytä kaikki)
odoo accounting v14 pos v15
Tietoa tästä foorumista
Apua

Can't save My Time off Request ValueError: Invalid field 'certificates' on model 'hr.employee.public' The above server error caused the following client error: null

Tilaa

Saat ilmoituksen, kun tähän viestiin ilmaantuu aktiviteettia

Tämä kysymys on merkitty
invalidfieldswarningsValueError
1 Vastaa
3826 Näkymät
Avatar
Chad

I hope someone guides me on how to fix this ValueError.


Can't save My Time off Request here's the error:


RPC_ERROR

Odoo Server Error

Traceback (most recent call last):

File "/opt/odoo16/odoo/api.py", line 984, in get

cache_value = field_cache[record._ids[0]]

KeyError: 30


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

File "/opt/odoo16/odoo/fields.py", line 1160, in __get__

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

File "/opt/odoo16/odoo/api.py", line 991, in get

raise CacheMiss(record, field)

odoo.exceptions.CacheMiss: 'hr.employee(30,).department_id'


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

File "/opt/odoo16/odoo/http.py", line 1584, in _serve_db

return service_model.retrying(self._serve_ir_http, self.env)

File "/opt/odoo16/odoo/service/model.py", line 133, in retrying

result = func()

File "/opt/odoo16/odoo/http.py", line 1611, in _serve_ir_http

response = self.dispatcher.dispatch(rule.endpoint, args)

File "/opt/odoo16/odoo/http.py", line 1815, in dispatch

result = self.request.registry['ir.http']._dispatch(endpoint)

File "/opt/odoo16/addons/website/models/ir_http.py", line 235, in _dispatch

response = super()._dispatch(endpoint)

File "/opt/odoo16/odoo/addons/base/models/ir_http.py", line 154, in _dispatch

result = endpoint(**request.params)

File "/opt/odoo16/odoo/http.py", line 697, in route_wrapper

result = endpoint(self, *args, **params_ok)

File "/opt/odoo16/addons/web/controllers/dataset.py", line 42, in call_kw

return self._call_kw(model, method, args, kwargs)

File "/opt/odoo16/addons/web/controllers/dataset.py", line 33, in _call_kw

return call_kw(request.env[model], method, args, kwargs)

File "/opt/odoo16/odoo/api.py", line 459, in call_kw

result = _call_kw_model_create(method, model, args, kwargs)

File "/opt/odoo16/odoo/api.py", line 439, in _call_kw_model_create

result = method(recs, *args, **kwargs)

File "", line 2, in create

File "/opt/odoo16/odoo/api.py", line 409, in _model_create_multi

return create(self, [arg])

File "/opt/odoo16/addons/hr_holidays_attendance/models/hr_leave.py", line 26, in create

res = super().create(vals_list)

File "", line 2, in create

File "/opt/odoo16/odoo/api.py", line 410, in _model_create_multi

return create(self, arg)

File "/opt/odoo16/addons/hr_holidays/models/hr_leave.py", line 945, in create

values.update({'department_id': employees.filtered(lambda emp: emp.id == employee_id).department_id.id})

File "/opt/odoo16/odoo/fields.py", line 2795, in __get__

return super().__get__(records, owner)

File "/opt/odoo16/odoo/fields.py", line 1186, in __get__

recs._fetch_field(self)

File "/opt/odoo16/odoo/models.py", line 3172, in _fetch_field

self._read(fnames)

File "/opt/odoo16/addons/hr/models/hr_employee.py", line 194, in _read

public.read(fields)

File "/opt/odoo16/odoo/models.py", line 2968, in read

raise ValueError("Invalid field %r on model %r" % (name, self._name))

ValueError: Invalid field 'certificates' on model 'hr.employee.public'


The above server error caused the following client error:

null

0
Avatar
Hylkää
Chad
Tekijä

hi @Niyas Raphy I have updated and copied the full error here.

Niyas Raphy (Walnut Software Solutions)

did you get a chance to see from where the certificates coming from

Chad
Tekijä

Hi Niyas Raphy, I viewed the source code and I don't see any term certificates. 
I checked on Settings -> Technical -> User Interface -> Views all that have term certificates and set them to inactive. 
Also, there is a field 'certificates' in Settings -> Technical -> Database Structure -> Model -> hr.employee which I added and can't remove because it says 'This column contains module data and cannot be removed!' when try to save the changes.  I also removed the fields 'certificates' in 'hr.employee'  table through Webmin interface.

Niyas Raphy (Walnut Software Solutions)

can you check your custom addons and see from which this field get added

Chad
Tekijä

Hi Niyas Raphy! 

It was the custom module 'employee_orientation' where the field gets added. 
I have uninstalled it and it works. Thank you for your help!

Avatar
Niyas Raphy (Walnut Software Solutions)
Paras vastaus

Hi,
It seems you have got third party apps or custom codes in your odoo instance. Check your source code to see the usage of term certificates in it.  

Also see the odoo log and see if you can get more information regarding this error. If you believe this as a bug in standard version of odoo, please provide the steps to reproduce the same in Odoo runbot. 

Thanks

2
Avatar
Hylkää
Nautitko keskustelusta? Älä vain lue, vaan osallistu!

Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!

Rekisteröidy
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
ValueError: The _name attribute "model" is not valid. Ratkaistu
ValueError
Avatar
Avatar
1
marrask. 22
4603
How to delete other user default search filter? Ratkaistu
tree filtering ValueError
Avatar
1
helmik. 25
1086
Outgoing Server Privateemail Error: Invalid Operation - Connection Test Failed! Here is what we got instead: email_to
mailserver outgoing_server invalidfieldswarnings
Avatar
Avatar
1
toukok. 24
2676
PFC_ERROR Odoo Server Error
odoo ServerError ValueError
Avatar
0
tammik. 24
1418
TypeError: ProductTemplate._get_report_values() missing 1 required positional argument: 'docids'
python typeerror ValueError
Avatar
Avatar
1
huhtik. 23
3998
Yhteisö
  • Kurssit
  • Dokumentaatio
  • Foorumi
Avoin lähdekoodi
  • Lataa
  • Github
  • Runbot
  • Käännökset
Palvelut
  • Odoo.sh hosting
  • Tuki
  • Versionkorotus
  • Räätälöidyt kehitykset
  • Koulutus
  • Löydä kirjanpitäjä
  • Löydä kumppani
  • Ryhdy kumppaniksi
Meistä
  • Yrityksemme
  • Brändiominaisuudet
  • Ota yhteyttä
  • Työpaikat
  • Tapahtumat
  • Podcast
  • Blogi
  • Asiakkaat
  • Oikeudellinen ilmoitus • Yksityisyys
  • Tietoturva
الْعَرَبيّة 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 on kokoelma avoimen lähdekoodin yrityssovelluksia, jotka kattavat kaikki yrityksesi tarpeet: asiakkuudenhallinta eli CRM, verkkokauppa, kirjanpito, varastointi, kassajärjestelmä, projektinhallinta, jne.

Odoon uniikki arvolupaus on olla samanaikaisesti erittäin helppokäyttöinen ja täysin integroitu.

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