Odoo Help


How can I compute for the late of an employee that i will use in his/her payroll?

on 8/16/14, 12:41 PM 5,150 views

Hello everyone,

I am creating salary rules for my HR payroll, but "attendance" isn't part of the available varialbes that i can use. i would like to compute for my employee's late and create a python code that would deduct it from his/hes  contract.wage.


Thank you :)

On 8/16/14, 2:57 PM


Correct me if im wrong, base on what i have understand, i need to treat "Late attendance" as unpaid leave? 

here what i want to get:

example: daily rate / hours of work per day = hourly rate.

          total_late * hourly rate = deduction.

          in order for me to compute his/her late i need to access his/her attendance logs? right?

          but attendance isn't part of the variables i can use in the salary rule. is there another way to solve this problem?

Thanks a lot pal, :) have a nice day

On 8/16/14, 1:37 PM

Hi Paolo,

  • You have to create a new holydays type for manage this. Or you can use the default unpaid type available,
  • Then you create you will create a salary rule base on worked hours. See link1 or link2

How can we calculate Overtime in openerp

Atul Kumar jain
on 11/26/14, 2:04 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 8/16/14, 12:41 PM
Seen: 5150 times
Last updated: 12/21/16, 10:04 AM