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
    • Validations
    • 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
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • 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
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et 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
    Browse all 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
    • Devenez partenaire
    • Services for Partners
    • 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

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
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

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

S'inscrire

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

Cette question a été signalée
errortreeviewattendanceinheritovertimeodoo18odoo19
2 Réponses
256 Vues
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
Ignorer
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Meilleure réponse
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
Ignorer
Avatar
Kunjan Patel
Meilleure réponse
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
Ignorer
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é
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
307
Automatic check-out Résolu
attendance overtime
Avatar
Avatar
Avatar
2
juil. 25
1514
View for Overtime
attendance overtime
Avatar
0
janv. 25
2542
odoo 16 saas
odoo18 odoo19
Avatar
0
juil. 23
5
How to inherit list (tree) view? Résolu
treeview inherit
Avatar
Avatar
Avatar
3
janv. 24
16164
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
  • Devenez 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 ภาษาไทย 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