Ir al contenido
Odoo Menú
  • Inicia 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
    • Inteligencia artificial
    • 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 propiedades
    • 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
  • Comunidad
    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
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

Need Unpaid Leave Salary Calculation

Suscribirse

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

Se marcó esta pregunta
hr_payroll
7 Respuestas
24321 Vistas
Avatar
sridhar

How to calculate Unpaid Leave, it is not reducing in the Net salary, i also tried in the salary rule for the following formula

result=(contract.wage/31)*worked_days.Unpaid.number_of_days

I put this calculation but I get server error. anybody help me.

Thanks & Regards Sridharan G Chennai

2
Avatar
Descartar
Avatar
Hilar Andikkadavath
Mejor respuesta

Hi, You can check this blog by Cybrosys  about Unpaid leaves and its payslip calculations here

2
Avatar
Descartar
ANSU MARY JACOB

not getting the output getting error

Avatar
Maath
Mejor respuesta

In additional to '@Mustufa Rangwala' solution you need to add condition to avoid error when employee do not have any unpaid leave I was explain that at this link:

https://accounts.openerp.com/forum/Help-1/question/16131?answer=16132#post-id-16132

2
Avatar
Descartar
Atul Kumar jain

How can we calculate Overtime in openerp

Avatar
Debashis Das
Mejor respuesta

for Basic LWP I have set condition "result=worked_days.Unpaid and worked_days.Unpaid.number_of_days or False" and computation "result = -(contract.wage *.4)/((worked_days.Unpaid.number_of_days+worked_days.WORK100.number_of_days) * worked_days.Unpaid.number_of_days)"...its works fine in Payslip...but through Batch its reflect nothing...any suggestion ?

0
Avatar
Descartar
sengottuvel

Hi...My requirement is result = total wage will be divided into total working days of month * total present days of employee of this month..I have a own modules and it contains total working day and total present of month for each employee..Kindly tell me the solution to achieve my result

Avatar
sengottuvel
Mejor respuesta

Hi...My requirement is result = total wage will be divided into total working days of month * total present days of employee of this month..I have a own modules and it contains total working day and total present of month for each employee..Kindly tell me the solution to achieve my result

0
Avatar
Descartar
Avatar
Mustufa Rangwala (mra)
Mejor respuesta

First of all you have to create Leave type called "Unpaid" and then create Leave request for employee and approve it.

After creating leave type and leave request you have to create salary rule and add that rule on employee salary structure..

Now create Payslip it will come overthere.

Regards, Mustufa Rangwala

0
Avatar
Descartar
sridhar
Autor

Thanks For Reply Same procedure i already i followed but yet i didn't get result "result=(contract.wage/31)*worked_days.Unpaid.number_of_days" this code is correct or not i'm using OpenERP 7 , help me. Thanks & Regards Sridharan G Chennai

Maath

@Mustufa Rangwala the code result=(contract.wage/31)*worked_days.Unpaid.number_of_days calculate the total of Unpaid leaves but we need total at that month and there is error when employee do not have an Unpaid leave , how to solve this problems , Or if we can build new module to calculate that , Please help ....

Ajmal

@Maath I am also having the same issue.. i think we can have a python condition check because it will be always "TRUE" so it wont allow if they doesnt have unpaid leaves.. i tried that condition also but it failed because of having "Unpaid" object

Maath

@Ajmal , Oky , and what about the total leaves for each month I try with payslip Bach and every thing is Oky and there is no error

sridhar
Autor

@Maath Unpaid rules added in Salary Structure for an employee means, it didn't accept batch concept same error Python code Error Plese check it my DB

Raminder Pal Singh

@all : How to deduct the salary of the employee if he is absent without taking any leaves.?? Plz Help

Raminder Pal Singh

@all: Error when using this python code if employee dont have any leave. Is there a method to solve this.??

Maath

@Raminder Pal Singh I think there is may be error in the system , But when I create a Bach for salary then there is no error , I am also need for deduct the salary of the employee if he is absent without taking any leaves , I think we should create new module .. if you want to share our work and contact on skype I think there is other developer want to do the same .

Raminder Pal Singh

@maath the error remains when we creates salary batch.

Maath

@Raminder Pal Singh I think there is may be error in the system , I think we should create new module .. if you want to share the work then will contact on skype

Raminder Pal Singh

@maath I am not a python programmer. but we can contact to discuss this issue. You can mail me ur skype id on rps023@gmail.com

Maath

@Raminder Pal Singh Finally her the solution if help you then vote Up OK? http://help.openerp.com/question/16131/unpaid-leaves-deduction-not-working/?answer=16132#post-id-16132

Maath

@Ajmal the problem finally solved I am adding new answer for this question .. vote up if helped you

Raminder Pal Singh

@maath thanks a lot. this works FINALLY

Ajmal

@maath Thank you .. It Works !!

Maath

@Ajmal Can U Vote up may question and answer too , it is take more time to solve and if you search in all sites will not founded ! I found it in French Site

Debashis Das

for Basic LWP I have set condition "result=worked_days.Unpaid and worked_days.Unpaid.number_of_days or False" and computation "result = -(contract.wage *.4)/((worked_days.Unpaid.number_of_days+worked_days.WORK100.number_of_days) * worked_days.Unpaid.number_of_days)"...its works fine in Payslip...but through Batch its reflect nothing...any suggestion ?

Avatar
sridhar
Autor Mejor respuesta

I Got a Answer for this problem but not updating in the gross amount. "result=-(contract.wage/31)*worked_days.Unpaid.number_of_days"

Sridharan Chennai

-1
Avatar
Descartar
Atul Kumar jain

How can we calculate Overtime in openerp

¿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
【GUIA 24-7】¿Cómo llamar a LATAM desde El Salvador?
hr_payroll
Avatar
0
jun 26
40
problem with work entries in hr.payroll
hr_payroll
Avatar
0
may 22
4958
Is it possible to add a custom button to payslips tree view Resuelto
hr_payroll
Avatar
Avatar
1
may 22
3672
Intégration secrétaria social
hr_payroll
Avatar
1
ene 22
3440
How to set input in salary rule Resuelto
hr_payroll
Avatar
Avatar
1
oct 21
16692
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 Svenska ภาษาไทย 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.

Sitio web hecho con

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