Merge lp:~openerp-dev/openobject-addons/6.0-opw-587811-skh into lp:openobject-addons/6.0
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-dev/openobject-addons/6.0-opw-587811-skh |
Merge into: | lp:openobject-addons/6.0 |
Diff against target: |
30 lines (+5/-4) 1 file modified
hr_payroll/hr_payroll.py (+5/-4) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/6.0-opw-587811-skh |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Naresh(OpenERP) | Pending | ||
Review via email:
|
Description of the change
Hello Sir,
[FIX]hr_payroll: Leaves are deducted twice when computing the payslip.
Steps:
1. install hr_payroll_account and hr_payroll module.
2. Create Contract for employee "Quentin Paolino" and select salary structure as "Marketing Executive".
3. On leave type "Casual Leave" in Payroll Configuration select payment: Un-Paid Holiday, Payroll Head: Leave without pay
4. create leave request for 2 days and approve it.
5. Open/Create Employee Payslip for employee "Quentin Paolino" and press button "Compute sheet" check total Payment it is calculated wrong. Deduction of leave are twice, 1. From the Basic salary 2. from the Gross Salary - deduction.
In current scenario HRA is calculated after the leave deduction(as per as my understanding which should be on basic only not after deduction) and then the rest calculation, once the gross salary calculated then again leaves+
This branch fixes this issue. Kindly review the branch and please share your views on it.
Thanks & Regards,
Somesh Khare
Unmerged revisions
- 5452. By Somesh Khare
-
[FIX]hr_payroll: Leaves are deducted twice when computing the payslip (Case:Ref 587811)