Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Intelligence artificielle
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Supermarché
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Homme à tout faire
    • Matériel informatique & support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Parcourir toutes les industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenir partenaire
    • Services pour partenaires
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Need Unpaid Leave Salary Calculation

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
hr_payroll
7 Réponses
24298 Vues
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
Ignorer
Avatar
Hilar Andikkadavath
Meilleure réponse

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

2
Avatar
Ignorer
ANSU MARY JACOB

not getting the output getting error

Avatar
Maath
Meilleure réponse

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
Ignorer
Atul Kumar jain

How can we calculate Overtime in openerp

Avatar
sengottuvel
Meilleure réponse

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
Ignorer
Avatar
Debashis Das
Meilleure réponse

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
Ignorer
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
Mustufa Rangwala (mra)
Meilleure réponse

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
Ignorer
sridhar
Auteur

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
Auteur

@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
Auteur Meilleure réponse

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
Ignorer
Atul Kumar jain

How can we calculate Overtime in openerp

Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
【GUIA 24-7】¿Cómo llamar a LATAM desde El Salvador?
hr_payroll
Avatar
0
juin 26
40
problem with work entries in hr.payroll
hr_payroll
Avatar
0
mai 22
4928
Is it possible to add a custom button to payslips tree view Résolu
hr_payroll
Avatar
Avatar
1
mai 22
3650
Intégration secrétaria social
hr_payroll
Avatar
1
janv. 22
3424
How to set input in salary rule Résolu
hr_payroll
Avatar
Avatar
1
oct. 21
16682
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenir partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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