Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita 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
  • Proyectos
  • 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

[RESOLVED] - [Odoo13][Community] - Automatic allocation by month

Suscribirse

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

Se marcó esta pregunta
automaticleaveallocation
2 Respuestas
11142 Vistas
Avatar
Odoo_axt

January, the 14th 2020, I have created a month allocation like this:

Allocation Type : Accrual Allocation
Until :

Add 1,00 Day every Month

But at the 1st day of the month (Febuary 1st), this leave allocation is not added to the employees.

Is this leave allocation added at the first day of the month or every month at the created date (in this example 14th day of the month)?

1
Avatar
Descartar
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Mejor respuesta

Hello,
Activate Developer mode from general settings.
Go to Settings>Technical>Scheduled Actions.

Check for this scheduled action, this action is responsible for doing this job.

Screenshot from 2020-02-04 11-42-31.png

Here you can see the Next Execution Date, and interval as 'Execute Every'.

[Update]
So when this action runs based on the schedule, it will call the _update_accrual() method.
Screenshot from 2020-02-05 13-04-42.png​

First part of that method.
​
In this method, Odoo takes all the allocations that have nextcall(is a date) set as False or nextcall is less than today along with many other conditions.

When we create a new allocation, nextcall will be False. and odoo will reset nextcall based on the interval(Day/Week/Month) 

So in your case,

You created allocation on 14th Jan, if you created the allocation before 18:00:59, Your allocations nextcall will be on 14th Feb. else Your nextcall will be 15th Feb. 

 You can use 'Run manually' button to run this action manually when ever you wish.

2
Avatar
Descartar
Avatar
Odoo_axt
Autor Mejor respuesta

hi

thx for the answer, i verified the scheduled actions in developper mode. I think this scheduled action is correctly configured :

Model : Time Off Allocation

Scheduler User  : OdooBot

Execute Every :  1 Days

Active : Yes

Next Execution Date : 04/02/2020 18:00:59

Number of calls : -1

Priority :  5

My problem is : if you configured a monthly allocation time off (1 day/month) :

when this allocation is added to the employee? At the first day of the month or at the created date of the automatic allocation (the 14st day off the month in my example)?

1
Avatar
Descartar
Cybrosys Techno Solutions Pvt.Ltd

Answer updated. Please check

Odoo_axt
Autor

Thx for the anwser and the explanations. Everything is alright, my allocation will be added at 14st day of the month (creation date).

¿Le interesa esta conversación? ¡Participe en ella!

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

Registrarse
Publicaciones relacionadas Respuestas Vistas Actividad
What is the difference bewteen "Leave" and Allocation? Resuelto
hr attendance leave allocation
Avatar
Avatar
Avatar
2
ago 25
32780
Creating automatic leave allocation based on confirmation date
employee leave allocation ValidationError
Avatar
Avatar
1
ene 24
3278
Remaining leave shouldn't be carried over to the next year, can it start over?
leave human_resource holiday allocation
Avatar
Avatar
1
oct 18
9464
leave allocation
leave
Avatar
0
feb 24
1873
Automatic leave approval (depending on type of employee)
management automatic leaves leave approval
Avatar
Avatar
1
nov 19
4354
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • 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 estar 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