Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

leaves in Odoo

Subscriure's

Get notified when there's activity on this post

This question has been flagged
odoo-update
2 Respostes
8976 Vistes
Avatar
Fabiola KANTOHERISOLO

how to exclude public holidays and weekends of leaves for the employee works and pays per hour 

2
Avatar
Descartar
Avatar
Marvin Taboada
Best Answer

Hello Fabiola,

Although there exists a "Working schedule" at the `hr_contract` module, that could be used to define the workweek and exclude "weekends" from leaves (the underlying business object is `resource.calendar`), the official `hr_holidays` module doesn't support excluding public holidays or weekends.

You can overcome the lack of "public holidays" by grouping employees by Tag and creating yearly allocations (by Employee Tag) and then registering/approving leave-requests (by Employee Tag as well) for these days. Public holidays are usually common to all employees but that might not be always the case. If employees observe different holidays, you can use different tags to group them before creating allocations. This idea is not new, it has been previously discussed here.

Excluding weekends (week days not part of the workweek) is harder because (1) you would require to repeat the above procedure to exclude each weekend, and, (2) it is more common to have employees with different workweeks in the first place.

Community addons have been developed to fulfill this requirement, I've just found the following one but is for v7.0 and I have never used it (having lot of dependencies increases chances of including broken modules), you may give it a try:

https://apps.openerp.com/apps/7.0/hr_holidays_extension/ 

Just in case, this link contains references about the official `hr_holidays` module (somehow outdated):

https://doc.odoo.com/6.0/book/4/4_11_HR/4_11_HR_holidays/ 

Regards.

2
Avatar
Descartar
Avatar
Milka
Best Answer

It is not possible to do massive leaves request for a group of employees, by employee tag.

This is because, the leave request mode is only available "by employee". There is not drop down box, to change it into "by employee tag" mode.

I did trial in Odoo Online Demo account.

- Tag selected targeted employees, for ex : 10 employees with the word " Employee"

- Leave request allocation for 28 days Public Holidays , allocation mode "Employee Tag", tag name "Employee"

- All 10 employees, got 28 days Public Holidays allocation perfectly, but

- the record shown that allocation mode is converted into " by employee" for each individual, not "by employee tag" like what it supposed to be


My guess, this is the reason, why the massive leaves request does not work, by employee tag. Because the allocation mode, is got converted from "by Employee Tag" to "by Employee".

Which means, the tag is helping only to inject the holidays allocation quota in the beginning.

If anyone knows, how to request holidays/leaves based on tag, please jump in.


Thanks


0
Avatar
Descartar
Enjoying the discussion? Don't just read, join in!

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

Registrar-se
Related Posts Respostes Vistes Activitat
Portal invoice error
odoo-update
Avatar
0
de set. 15
5023
Can I run Odoo as a SaaS commercially?
odoo-update
Avatar
Avatar
Avatar
2
de set. 15
12019
Is there a way to hide fields when other selection field says "no" Solved
odoo-update
Avatar
Avatar
1
de set. 15
5860
Is It posssible to work with already created data schema without any blockers ? Solved
odoo-update
Avatar
Avatar
1
de set. 15
4331
Instructions to install a community module on a remote ubuntu server Solved
odoo-update
Avatar
Avatar
1
de set. 15
7715
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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