hr_payslip: Wrong defined for salary rule

Bug #1089600 reported by Eduardo Vizcaino Granados
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Committed
Medium
OpenERP R&D Addons Team 3

Bug Description

The salary rules need worked_days.WORK100 to determinate the worked days
also can require worked_days to achieve abscenses(hr_holidays)

if the abscenses are not stored as follows.
worked_days.sick_leaves
worked_days.compensatory_days
worked_days.unpaid

and you call the salary rule shows the error,

"Wrong range condition defined for salary rule"

Tags: hr payroll

Related branches

Revision history for this message
Eduardo Vizcaino Granados (evigra) wrote :
Revision history for this message
Juan Alejandro Villaseñor Rojas (juanvilla-18) wrote :

Hi, I'm the same when I determine the payroll

I hope you do something to fix this "bug"

Revision history for this message
Purnendu Singh (OpenERP) (purnendu-singh) wrote :

Hello Eduardo Vizcaino Granados,

Confirming this issue as the user need to modify the code manually each time in Worked Days if the code is set as Sick Leaves to Sick_Leaves.

Improvement Should be such that the system by default takes Sick Leaves as Sick_Leaves as rules are not working if there is any space in code(e.g: in our case Sick Leave).

Thanks,
Purnendu Singh

Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Dharti Ratani(OpenERP) (dhr-openerp) wrote :

Hello,

         Fixed in the branch : https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1089600-dhr and will be soon merged in trunk.
        Revno: 8489
        Revid : <email address hidden>

Thanks.

Changed in openobject-addons:
status: In Progress → Fix Committed
tags: added: hr payroll
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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