Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

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

Naroči se

Get notified when there's activity on this post

This question has been flagged
errortreeviewattendanceinheritovertimeodoo18odoo19
2 Odgovori
263 Prikazi
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
Opusti
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer
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
Opusti
Avatar
Kunjan Patel
Best Answer
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
Opusti
Enjoying the discussion? Don't just read, join in!

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
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
310
Automatic check-out Solved
attendance overtime
Avatar
Avatar
Avatar
2
jul. 25
1514
View for Overtime
attendance overtime
Avatar
0
jan. 25
2543
odoo 16 saas
odoo18 odoo19
Avatar
0
jul. 23
5
How to inherit list (tree) view? Solved
treeview inherit
Avatar
Avatar
Avatar
3
jan. 24
16165
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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