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.

1

How to calculate Pay Slip automatically

By
Raminder Pal Singh
on 5/7/13, 5:16 AM 11,215 views

If we enter employee name in the Pay slip sheet All the information regarding the attendance, leaves and basic sal-expenses should be displayed .

How can i do that.

Plz help

1

Priyesh Solanki (pso)

--Priyesh Solanki (pso)--
Tiny ERP Pvt Ltd
http://www.odoo.com
1100
| 2 2 4
--Priyesh Solanki (pso)--
Priyesh Solanki (pso)
On 5/7/13, 6:43 AM

First, You need to install hr_payroll module for this.

This is the flow you need to follow: Employee --> Contract --> Set Salary Structure and Working Schedule. Salary Structure contains many Salary Rules that you need to define inside it. In Payslip, you need to define two dates, From and To date. Between these dates, If that employee, you are selecting, has taken any leaves and has been approved, it will be deducted but for that, you need to add salary rule.

Right now, If you will select any employee from Payslip, Automatic related information will be come and You need to click on Compute Sheet to see the Salary Information.

Can u plz tell me, how can i add a salary rule which gives amount of unpaid leaves deducted from the salary ? I have tried the above steps . automatic information comes that i have given in salary structures but the attendance of the employees i have to enter manually. do we any option so that i can change it.

Thanks

Raminder Pal Singh
on 5/7/13, 8:06 AM

You will see Working days in Worked Days separator and it will also consider leaves, taken between from and to dates for which, you are generating payslips. It will also appear in Worked days separator. To create salary rule, you must be aware of salary rule/category codes that will be used to configure rule by using Python code. For more info, refer this link: http://doc.openerp.com/v7.0/book/4/4_11_HR/4_11_HR_payroll.html

Priyesh Solanki (pso)
on 5/7/13, 8:34 AM

@Priyesh What is the python code for Employee Absence.?

Raminder Pal Singh
on 5/10/13, 5:36 AM

@Raminder Pal Singh the solution for your requirements in this link http://help.openerp.com/question/16131/unpaid-leaves-deduction-not-working/

Maath
on 6/13/13, 7:29 PM
0
JSA
On 5/29/14, 3:27 AM

Can anyone help me to calculate the payslip based on the number of days the employe worked. How I can add the salary rule for that

you'll need the Modules "Attendances" (hr_attendance is the technical name) & "Employee Contracts" (hr_contract) in order to do that. Furthermore you have to have set "Salary Structure" and a "Working Schedule" in the contract of the employee. Setting up the Salary Structure (plus the "salary Rules" which this contains of) right can be pretty tricky and it takes some hit and miss to get it working

gunnar
on 5/29/14, 4:20 AM
Hi Gunnar, 

I already have installed all this module. But the problem is, that i can’t see it all in module accounting, supplier payment. 
Am 29.05.2014 um 10:20 schrieb gunnar <gw-irisgermanica-com@openerp.my.openerp.com>:

you'll need the Modules "Attendances" (hr_attendance is the technical name) & "Employee Contracts" (hr_contract) in order to do that. Furthermore you have to have set "Salary Structure" and a "Working Schedule" in the contract of the employee. Setting up the Salary Structure (plus the "salary Rules" which this contains of) right can be pretty tricky and it takes some hit and miss to get it working

--
gunnar Sent by OpenERP S.A. using OpenERP. Access your messages and documents in Odoo

JSA
on 5/29/14, 4:32 AM

result = worked_days.WORK100.number_of_days * (contract.wage / 30)

Odoo Honduras
on 2/25/16, 1:14 PM

Edit Basic Salary Rule

Odoo Honduras
on 2/25/16, 1:15 PM

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

4 follower(s)

Stats

Asked: 5/7/13, 5:16 AM
Seen: 11215 times
Last updated: 5/7/16, 3:04 AM