Ir al contenido
Odoo Menú
  • Identificarse
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • TPV para tiendas
    • TPV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en directo
    • eLearning
    Cadena de suministro
    • Inventario
    • Fabricación
    • PLM
    • Compra
    • Mantenimiento
    • Calidad
    Recursos Humanos
    • Empleados
    • Reclutamiento
    • Ausencias
    • Evaluación
    • Referencias
    • Flota
    Marketing
    • Marketing social
    • Marketing por correo electrónico
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyecto
    • Partes de horas
    • Servicio de campo
    • Servicio de asistencia
    • Planificación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Información
    • WhatsApp
    Aplicaciones de terceros Studio de Odoo Plataforma de Odoo Cloud
  • Industrias
    Comercio al por menor
    • Librería
    • Tienda de ropa
    • Tienda de muebles
    • Tienda de ultramarinos
    • Ferretería
    • Juguetería
    Alimentación y hostelería
    • Bar y taberna
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidor de bebidas
    • Hotel
    Inmueble
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión inmobiliaria
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Empresa contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Fabricación
    • Textil
    • Metal
    • Muebles
    • Alimentos
    • Brewery
    • Regalos de empresas
    Salud y bienestar
    • Club deportivo
    • Óptica
    • Gimnasio
    • Terapeutas
    • Farmacia
    • Peluquería
    Oficios
    • Handyman
    • Hardware y asistencia informática
    • Sistemas de energía solar
    • Zapatero
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin ánimo de lucro
    • Agencia de protección del medio ambiente
    • Alquiler de paneles publicitarios
    • Estudio fotográfico
    • Alquiler de bicicletas
    • Distribuidor de software
    Browse all Industries
  • Comunidad
    Aprender
    • Tutoriales
    • Documentación
    • Certificaciones
    • Formación
    • Blog
    • Podcast
    Potenciar la educación
    • Programa de formación
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtener el software
    • Descargar
    • Comparar ediciones
    • Versiones
    Colaborar
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Convertirse en partner
    • Services for Partners
    • Registrar tu empresa contable
    Obtener servicios
    • Encontrar un partner
    • Encontrar un asesor fiscal
    • Contacta con un experto
    • Servicios de implementación
    • Referencias de clientes
    • Ayuda
    • Actualizaciones
    GitHub YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicitar una demostración
  • Precios
  • Ayuda

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

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyecto
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

leaves in Odoo

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
odoo-update
2 Respuestas
8960 Vistas
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
Mejor respuesta

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
Mejor respuesta

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
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Inscribirse
Publicaciones relacionadas Respuestas Vistas Actividad
Portal invoice error
odoo-update
Avatar
0
sept 15
5004
Can I run Odoo as a SaaS commercially?
odoo-update
Avatar
Avatar
Avatar
2
sept 15
11993
Is there a way to hide fields when other selection field says "no" Resuelto
odoo-update
Avatar
Avatar
1
sept 15
5818
Is It posssible to work with already created data schema without any blockers ? Resuelto
odoo-update
Avatar
Avatar
1
sept 15
4303
Instructions to install a community module on a remote ubuntu server Resuelto
odoo-update
Avatar
Avatar
1
sept 15
7682
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento Odoo.sh
  • Ayuda
  • Actualizar
  • Desarrollos personalizados
  • Educación
  • Encontrar un asesor fiscal
  • Encontrar un partner
  • Convertirse en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contacta con nosotros
  • Puestos de trabajo
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Información legal • Privacidad
  • Seguridad
الْعَرَبيّة 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 es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y totalmente integrado.

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