Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

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

Odebírat

Get notified when there's activity on this post

This question has been flagged
errortreeviewattendanceinheritovertimeodoo18odoo19
2 Odpovědi
279 Zobrazení
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
Zrušit
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Nejlepší odpověď
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
Zrušit
Avatar
Kunjan Patel
Nejlepší odpověď
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
Zrušit
Enjoying the discussion? Don't just read, join in!

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

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
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
lis 25
321
Automatic check-out Vyřešeno
attendance overtime
Avatar
Avatar
Avatar
2
čvc 25
1519
View for Overtime
attendance overtime
Avatar
0
led 25
2543
odoo 16 saas
odoo18 odoo19
Avatar
0
čvc 23
5
How to inherit list (tree) view? Vyřešeno
treeview inherit
Avatar
Avatar
Avatar
3
led 24
16170
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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