[v6]Deducting leaves two times in salary slip.

Bug #998405 reported by Kalpana Hemnani(SerpentCS)
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Medium
OpenERP Publisher's Warranty Team

Bug Description

I am using the Openerp server 6.0.2.

While computing salary slip salary with leave deduction, deducting leaves two times, one for "Leave Deductions" and second for "Deductions".

Question #177869.

Revision history for this message
Kalpana Hemnani(SerpentCS) (khemnani-serpentcs) wrote :

I am using the Openerp server 6.0.2.

While creating a salary slip with leave deductions, leave deductions are deducting two times one in deductions, another in leave deductions.

So here I am attaching a patch for this bug.

Thank You,
Regards,
Kalpana Hemnani,
Serpent Consulting Services.

Amit Parik (amit-parik)
summary: - Deducting leaves two times in salary slip.
+ [v6]Deducting leaves two times in salary slip.
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Kalpana,

I have faced the same problem at my end, the leave deduction will computed two times.
One for leave deduction and second for deduction.

I have tried your patch but it's not seems good for me.

I am assigning this to OPW team they will fix it.

Thanks!

Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Kalpana Hemnani(SerpentCS) (khemnani-serpentcs) wrote :

Hello Amit Parik,

Make sure while configuring leave type the Payroll Head Type should be other than deduction, if it is deduction it will deduct salary two times. After changing the type the salary will not be deducted two times.

Earlier while creating payslip_line the the Payroll Head Type was taken statically 'deductions' so I have changed it in my patch.

Thank You,
Regards,
Kalpana Hemnani,
Serpent Consulting Services.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.