From 77cb23551b092c1746df64c290a303bb0d68b3d6 Mon Sep 17 00:00:00 2001 From: "Khushboo Bhatt (Open ERP)" Date: Tue, 7 Aug 2012 11:45:55 +0530 Subject: [PATCH 1/2] [ADD/IMP]l10n_in_hr_payroll:added data for contribution register and used its reference in rules bzr revid: kbh@tinyerp.com-20120807061555-n8s44w4crx2gh9pa --- .../data/l10n_in_hr_payroll_data.xml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/addons/l10n_in_hr_payroll/data/l10n_in_hr_payroll_data.xml b/addons/l10n_in_hr_payroll/data/l10n_in_hr_payroll_data.xml index bccf03137be..1633b20d627 100644 --- a/addons/l10n_in_hr_payroll/data/l10n_in_hr_payroll_data.xml +++ b/addons/l10n_in_hr_payroll/data/l10n_in_hr_payroll_data.xml @@ -1,6 +1,28 @@ + + + + House Rent Allowance Register for Metro and Non Metro city + + + + Employee's Provident Fund Register + + + + Employer's Provident Fund Register + + + + Professional Tax Deduction Register + + + + Food Coupen Register + + @@ -19,6 +41,7 @@ result=payslip.company_id.dearness_allowance and ((contract.wage + DA) * 0.50) or (contract.wage * 0.50) if (contract.city_type=='metro') else payslip.company_id.dearness_allowance and ((contract.wage + DA) * 0.40) or (contract.wage * 0.40) if (contract.city_type=='non-metro') else 0.00 House Rent Allowance for metro and nonmetro city + @@ -170,6 +193,7 @@ number of years of service (date of joining – date of retirement/leaving job)< FC Food Coupons Allowance + @@ -268,6 +292,7 @@ number of years of service (date of joining – date of retirement/leaving job)< result = contract.wage >= 3000 code result = -200 if contract.wage >= 12000 else -150 if ((contract.wage >= 9000) and (contract.wage <= 11999)) else -80 if ((contract.wage >= 6000) and (contract.wage <= 8999)) else -20 if ((contract.wage >= 3000) and (contract.wage <= 5999)) else -0 + @@ -278,6 +303,7 @@ number of years of service (date of joining – date of retirement/leaving job)< code result = payslip.company_id.dearness_allowance and - ((contract.wage + DA) * 8.33 / 100) or - (contract.wage * 8.33 / 100) Employer contribution does not become part of employee’s income and hence income tax is not payable on this part. + @@ -390,6 +416,7 @@ number of years of service (date of joining – date of retirement/leaving job)< code result = payslip.company_id.dearness_allowance and - ((contract.wage + DA) * 0.12) or - (contract.wage * 0.12) + Both the employees and employer contribute to the fund at the rate of 12% of the basic wages, dearness allowance and retaining allowance, if any, payable to employees per month. From 669449534323f2656656317e4c01ed9bc7b4babb Mon Sep 17 00:00:00 2001 From: "Khushboo Bhatt (Open ERP)" Date: Tue, 7 Aug 2012 14:07:34 +0530 Subject: [PATCH 2/2] [FIX]l10n_in_hr_payroll:register name changed bzr revid: kbh@tinyerp.com-20120807083734-yhob146pybjykuex --- .../data/l10n_in_hr_payroll_data.xml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/addons/l10n_in_hr_payroll/data/l10n_in_hr_payroll_data.xml b/addons/l10n_in_hr_payroll/data/l10n_in_hr_payroll_data.xml index 1633b20d627..61a0b4e4352 100644 --- a/addons/l10n_in_hr_payroll/data/l10n_in_hr_payroll_data.xml +++ b/addons/l10n_in_hr_payroll/data/l10n_in_hr_payroll_data.xml @@ -4,23 +4,19 @@ - House Rent Allowance Register for Metro and Non Metro city + Register for House Rent Allowance - - Employee's Provident Fund Register - - - - Employer's Provident Fund Register + + Register for Provident Fund - Professional Tax Deduction Register + Register for Professional Tax - Food Coupen Register + Register for Food Coupen @@ -303,7 +299,7 @@ number of years of service (date of joining – date of retirement/leaving job)< code result = payslip.company_id.dearness_allowance and - ((contract.wage + DA) * 8.33 / 100) or - (contract.wage * 8.33 / 100) Employer contribution does not become part of employee’s income and hence income tax is not payable on this part. - + @@ -416,7 +412,7 @@ number of years of service (date of joining – date of retirement/leaving job)< code result = payslip.company_id.dearness_allowance and - ((contract.wage + DA) * 0.12) or - (contract.wage * 0.12) - + Both the employees and employer contribute to the fund at the rate of 12% of the basic wages, dearness allowance and retaining allowance, if any, payable to employees per month.