Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

Cannot open any Employees views by department or by each employee Uncaught Promise > Cannot read properties of undefined (reading 'relation') TypeError: Cannot read properties of undefined (reading 'relation')

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
uncaughtEmployee
3 Risposte
6364 Visualizzazioni
Avatar
Chad

Hi, I hope someone can help me figure out this.

I cannot open any  1) Employee-related views by department or by each employee and

Every time I click the button -> 
Object: hr.department
Button Type: action
Action ID: 179

the page displays:
 Uncaught Promise > Cannot read properties of undefined (reading 'relation') TypeError: Cannot read properties of undefined (reading 'relation'). 

This happened after uninstalling custom modules related to employees.


UncaughtPromiseError > TypeError

Uncaught Promise > Cannot read properties of undefined (reading 'relation')

TypeError: Cannot read properties of undefined (reading 'relation')

at https://www.emergeone.co/web/assets/3901-65545fa/web.assets_backend.min.js:6669:84

at traverse (https://www.emergeone.co/web/assets/3901-65545fa/web.assets_backend.min.js:6662:200)

at https://www.emergeone.co/web/assets/3901-65545fa/web.assets_backend.min.js:6662:242

at Function.each (https://www.emergeone.co/web/assets/3900-612d6c1/web.assets_common.min.js:173:149)

at traverse (https://www.emergeone.co/web/assets/3901-65545fa/web.assets_backend.min.js:6662:211)

at https://www.emergeone.co/web/assets/3901-65545fa/web.assets_backend.min.js:6662:242

at Function.each (https://www.emergeone.co/web/assets/3900-612d6c1/web.assets_common.min.js:173:149)

at traverse (https://www.emergeone.co/web/assets/3901-65545fa/web.assets_backend.min.js:6662:211)

at https://www.emergeone.co/web/assets/3901-65545fa/web.assets_backend.min.js:6662:242

at Function.each (https://www.emergeone.co/web/assets/3900-612d6c1/web.assets_common.min.js:173:149)

2) After uninstalling custom modules, I cannot edit employee details in the backend as well (no edit option) even if I'm logged in as admin or manager user groups. 



0
Avatar
Abbandona
Avatar
Andrés Carles
Risposta migliore

Maybe I'm a little bit late, but in case someone is stuck there. I had this error because I was calling from my custom action to a view_id from another model.

0
Avatar
Abbandona
Avatar
Chad
Autore Risposta migliore

Hi Niyas Raphy. I've updated the hr (Employee) module through the terminal and the error still shows up. and these are the errors in the terminal. I have uninstalled the formio custom module as well that might caused the issue.


2023-08-14 19:56:40,957 24357 WARNING emergehq061823 odoo.modules.loading: invalid custom view(s) for model ir.actions.server: Error while validating view near:

Field "formio_ref" does not exist in model "ir.actions.server" 

2023-08-14 19:56:40,961 24357 WARNING emergehq061823 odoo.modules.loading: invalid custom view(s) for model ir.attachment: Error while validating view near:                   

                   


Field "formio_asset_formio_version_id" does not exist in model "ir.attachment" 

2023-08-14 19:56:40,976 24357 WARNING emergehq061823 odoo.modules.loading: invalid custom view(s) for model res.lang: Error while validating view near:

                       

             

Field "formio_short_code" does not exist in model "res.lang" 

2023-08-14 19:56:41,025 24357 WARNING emergehq061823 odoo.modules.loading: invalid custom view(s) for model res.config.settings: Error while validating view near:



Field "spiffy_favicon" does not exist in model "res.config.settings" 

2023-08-14 19:56:41,060 24357 WARNING emergehq061823 odoo.modules.loading: invalid custom view(s) for model account.analytic.account: Error while validating view near:



Field "crossovered_budget_line" does not exist in model "account.analytic.account" 

2023-08-14 19:56:41,078 24357 WARNING emergehq061823 odoo.modules.loading: invalid custom view(s) for model hr.employee: Error while validating view near:


Field "payslip_count" does not exist in model "hr.employee" 

2023-08-14 19:56:41,097 24357 WARNING emergehq061823 odoo.modules.loading: invalid custom view(s) for model hr.contract: Error while validating view near:                       


Field "notice_days" does not exist in model "hr.contract" 

2023-08-14 19:56:41,103 24357 WARNING emergehq061823 odoo.modules.loading: invalid custom view(s) for model hr.leave.type: Error while validating view near:



Field "code" does not exist in model "hr.leave.type" 

2023-08-14 19:56:41,182 24357 INFO emergehq061823 odoo.modules.loading: Modules loaded. 

2023-08-14 19:56:41,197 24357 INFO emergehq061823 odoo.modules.registry: Registry loaded in 11.821s 

2023-08-14 19:56:41,197 24357 INFO emergehq061823 odoo.addons.base.models.ir_module: getting next ir.actions.todo() 

{'type': 'ir.actions.act_url', 'target': 'self', 'url': '/web'}


0
Avatar
Abbandona
Avatar
Niyas Raphy (Walnut Software Solutions)
Risposta migliore

Hi,
Can you try upgrading the hr (Employee) module in your database and see it its resolves the issue.

Thanks

0
Avatar
Abbandona
ulnaoperating

Updating the hr (Employee) module in your database could be worth a shot to see if it resolves the issue. https://gorillatag.io/

Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
How to create an automated action that gives an internal note
Employee
Avatar
Avatar
Avatar
3
mag 23
4170
Create employee from contact
Contacts Employee
Avatar
Avatar
1
ago 25
907
Where is Docs for Employee Risolto
documentation Employee
Avatar
Avatar
Avatar
2
nov 22
2767
What does this error means : Uncaught Error:Field state unknown in domain [["state","not in",["draft"]]] Risolto
error uncaught
Avatar
1
mar 15
6416
How can I link a newly created contact to an existing employee in Odoo 17? Risolto
hr contacts Employee
Avatar
Avatar
Avatar
2
set 25
858
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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