This question has been flagged
12 Replies
29505 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

Avatar
Discard
Best Answer

First you add hr_payroll and hr_employee module then creating one salary rule in payroll after that salary rule include salary structure.

Then after hr_employee module you should create contract of any employee after that include salary structure in contract.

After that you can create particular employee payslip in via structure and salary rule automatically.


Avatar
Discard
Best Answer

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.

Avatar
Discard
Author

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

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

Author

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

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

Best Answer


Avatar
Discard
Best Answer

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

Avatar
Discard

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

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

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

Edit Basic Salary Rule