Odoo Help

Welcome!

This community 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.

3

Deduct half day salary if late

By
charlesraj
on 1/29/14, 6:22 AM 1,885 views

My need is to deduct half-day salary if he/she is late .In his/her work schedule i define a working hours from 9:00 am to 6:00 pm. If the employee login at 9:31 or above then deduct half day salary (if the employee is login after 30 min from the actual login time.)

I create a new rule called latecoming .But i don't know how to implement the condition in the rule..

How can be link the employee attendance and employee payslip..

0
tohamy91
On 4/20/14, 9:13 PM

Hi

i think u can write this rule with python code 'result = (contract.wage/30)*(-0.5)' , think this will help u 30 == is the month days 0.5 == is the half day or can change it with any deduction ( can be days )

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 1/29/14, 6:22 AM
Seen: 1885 times
Last updated: 3/16/15, 8:10 AM