c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #36173
[Bug 717202] Re: hr_payroll no employee information accessible inside calculation
Hello Alexandra,
Here i attached 2 Screen shots
1) Provident Fund.png
which is a salary rule for employee's PF
2) Employer's Contribution.png
We have used PF salary rule for it's calculation
As you can see in 2nd Screen Shot i have used
result = (rules.PF.amount_percentage * contract.wage)/100
in python Code here "rules" refer to the hr.salary.rule object and contract refers hr.contract object
Here
rules.PF.amount_percentage gives = -12.50
contract.wage = whatever the wage is selected on contract
Hope this will help you.
Thanks,
Purnendu Singh
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/717202
Title:
hr_payroll no employee information accessible inside calculation
Status in OpenERP Addons (modules):
Fix Released
Bug description:
There is no employee information like number of children etc.
accessible for using in deduction calculations. It is common practice
to use such information for tax calculations.
As the result there is no option to recreate number of taxation cases
with hr_payroll module.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/717202/+subscriptions
References