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

View removed error/ hr_attendance_overtime_tree view Error in odoo 19???

Iscriviti

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

La domanda è stata contrassegnata
errortreeviewattendanceinheritovertimeodoo18odoo19
2 Risposte
268 Visualizzazioni
Avatar
Kalana Piyumantha

I am migrating a odoo 18 module to odoo19 but this view is available on 18 but it hasn't in 19 what can i do?? I thought First find this view on odoo18 and then think to find a solution?

My full view file is ,

<record id="view_attendance_overtime_tree" model="ir.ui.view">
<field name="name">hr.attendance.overtime.view.tree.inherit.hr_overtime</field>
<field name="model">hr.attendance.overtime</field>
<field name="inherit_id" ref="hr_attendance.view_attendance_overtime_tree"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='employee_id']" position="after">
<field name="positive_extra_hours" widget="float_time"/>
<field name="negative_extra_hours" widget="float_time"/>
<field name="overtime_status" widget="badge" decoration-warning="overtime_status == 'to_approve'" decoration-success="overtime_status == 'approved'" decoration-danger="overtime_status == 'refused'"/>
<field name="double_overtime" widget="boolean_toggle"/>
</xpath>
<xpath expr="//field[@name='duration']" position="replace">

</xpath>
</field>
</record>

Now , I want to know,
1) How to navigate this view(hr_attendance_overtime_tree) location in odoo 18?

2) What can I do to migrate this view to odoo 19?( even this view not in default core module, so i cannot inherit no??

3) What is the purpose of this view? for what??


0
Avatar
Abbandona
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Risposta migliore
Hi,
In Odoo 18, the view hr_attendance.view_attendance_overtime_tree belongs to the overtime feature inside the Attendance module, and you can find it by enabling developer mode and searching for that external ID under Technical → Views. You can also locate it in the Odoo 18 source code inside hr_attendance/views/. However, in Odoo 19 this view no longer exists because Odoo has removed or redesigned the overtime functionality. Since the base view is missing, you cannot inherit it in Odoo 19, so the only options are to create a new complete tree view for the hr.attendance.overtime model (if the model still exists) or adapt your module to the new attendance structure if Odoo 19 changed the model itself. The original purpose of this view was to display overtime records with fields like extra hours, status, and approval badges for HR managers to review and approve employee overtime.

Hope it helps

0
Avatar
Abbandona
Avatar
Kunjan Patel
Risposta migliore
Hello Kalana Piyumantha
I hope you are doing well,

1. Location in Odoo 18: odoo-18/addons/hr_attendance/views/hr_attendance_overtime_view.xml
2. Problem: View view_attendance_overtime_tree removed in Odoo 19 - cannot inherit
3. Solution: Create the base view yourself in your custom module (don't inherit, create fresh)
4. Alternative: Inherit from hr_attendance.view_attendance_tree which now includes overtime fields
5. Purpose: Tree view to display/manage employee overtime records (date, employee, duration)
6. Action: Copy the Odoo 18 base view into your module, then add your custom fields directly

I hope this information helps you

Thanks & Regards,
Kunjan Patel
0
Avatar
Abbandona
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à
Language Code Error In odoo19 , when Migrate a module from version 18 to Version 19
mail error templates odoo18 odoo19
Avatar
Avatar
Avatar
Avatar
Avatar
4
nov 25
311
Automatic check-out Risolto
attendance overtime
Avatar
Avatar
Avatar
2
lug 25
1514
View for Overtime
attendance overtime
Avatar
0
gen 25
2543
odoo 16 saas
odoo18 odoo19
Avatar
0
lug 23
5
How to inherit list (tree) view? Risolto
treeview inherit
Avatar
Avatar
Avatar
3
gen 24
16166
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