From b1724905d4a4837810ef9fef7f88ad05a9d6d45e Mon Sep 17 00:00:00 2001 From: "Khushboo Bhatt (Open ERP)" Date: Wed, 29 Aug 2012 15:12:52 +0530 Subject: [PATCH 1/3] [FIX]l10n_in_hr_payroll:rules improved,help updated bzr revid: kbh@tinyerp.com-20120829094252-wzdygt5muwcuochl --- .../data/hr.salary.rule.csv | 4 ++-- .../data/l10n_in_hr_payroll_data.xml | 20 ++++++++++++++++--- .../l10n_in_hr_payroll/l10n_in_hr_payroll.py | 6 +++--- 3 files changed, 22 insertions(+), 8 deletions(-) diff --git a/addons/l10n_in_hr_payroll/data/hr.salary.rule.csv b/addons/l10n_in_hr_payroll/data/hr.salary.rule.csv index f13dc346065..2fe1ba739f4 100644 --- a/addons/l10n_in_hr_payroll/data/hr.salary.rule.csv +++ b/addons/l10n_in_hr_payroll/data/hr.salary.rule.csv @@ -1,5 +1,5 @@ "id","amount_select","condition_range_min","condition_range_max","amount_percentage","amount_fix","name","category_id","sequence","code","parent_rule_id/id","condition_select","condition_range","amount_percentage_base" -1,"fix",1,1,,1200,"Education Allowance For One Child","Allowance",23,"CHEAONE","hr_payroll_rule_child1","range","employee.children", -2,"fix",2,10,,2400,"Education Allowance For Two Child","Allowance",24,"CHEATWO","hr_payroll_rule_child1","range","employee.children", +1,"fix",1,1,,100,"Education Allowance For One Child","Allowance",23,"CHEAONE","hr_payroll_rule_child1","range","employee.children", +2,"fix",2,10,,200,"Education Allowance For Two Child","Allowance",24,"CHEATWO","hr_payroll_rule_child1","range","employee.children", 3,"fix",1,1,,300,"Child Hostel Allowance For One Child","Allowance",26,"CHOONE","hr_payroll_rule_child2","range","employee.children", 4,"fix",2,10,,600,"Child Hostel Allowance For Two Child","Allowance",27,"CHOTWO","hr_payroll_rule_child2","range","employee.children", 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 528d4f8dc35..8af9300ee49 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 @@ -208,13 +208,22 @@ Now difference of income tax between payment year and actual year would be allow This would be fully taxable based on Bonus. + + MEDA + Medical Allowance + + fix + + + This component is on-taxable up to 15000 per year (or Rs 1250 per month) on producing medical bills. + MEDA Medical Reimbursement - fix - + code + result = inputs.MR.amount This component is on-taxable up to 15000 per year (or Rs 1250 per month) on producing medical bills. @@ -225,7 +234,7 @@ Now difference of income tax between payment year and actual year would be allow worked_days.WORK100.number_of_days FC - Food Coupons Allowance + Food Allowance @@ -542,5 +551,10 @@ Now difference of income tax between payment year and actual year would be allow Leave Availed + + MR + Medical Reimbursement + + diff --git a/addons/l10n_in_hr_payroll/l10n_in_hr_payroll.py b/addons/l10n_in_hr_payroll/l10n_in_hr_payroll.py index 95bb65514a2..cc810fcc1cb 100644 --- a/addons/l10n_in_hr_payroll/l10n_in_hr_payroll.py +++ b/addons/l10n_in_hr_payroll/l10n_in_hr_payroll.py @@ -44,9 +44,9 @@ class hr_contract(osv.osv): 'tds': fields.float('TDS', digits_compute=dp.get_precision('Payroll'), help="Amount for Tax Deduction at Source"), 'driver_salay': fields.boolean('Driver Salary', help="Check this box if you provide allowance for driver"), 'medical_insurance': fields.float('Medical Insurance', digits_compute=dp.get_precision('Payroll'), help="Deduction towards company provided medical insurance"), - 'voluntary_provident_fund': fields.float('Voluntary Provident Fund (%)', digits_compute=dp.get_precision('Payroll'), help="VPF computed as percentage(%)"), - 'house_rent_allowance_metro_nonmetro': fields.float('House Rent Allowance (%)', digits_compute=dp.get_precision('Payroll'), help="HRA computed as percentage(%)"), - 'supplementary_allowance': fields.float('Supplementary Allowance', digits_compute=dp.get_precision('Payroll')), + 'voluntary_provident_fund': fields.float('Voluntary Provident Fund (%)', digits_compute=dp.get_precision('Payroll'), help="VPF is a safe option wherein you can contribute more than the PF ceiling of 12% that has been mandated by the government.And VPF computed as percentage(%)"), + 'house_rent_allowance_metro_nonmetro': fields.float('House Rent Allowance (%)', digits_compute=dp.get_precision('Payroll'), help="HRA is an allowance given by the employer to the employee for taking care of his rental or accommodation expenses.And HRA computed as percentage(%)"), + 'supplementary_allowance': fields.float('Supplementary Allowance', digits_compute=dp.get_precision('Payroll'), help="Supplementary Allowance provides a basic weekly allowance to eligible people who have little or no income"), } hr_contract() From c42ba7020b4e33e50083175c1a1376455ae0c832 Mon Sep 17 00:00:00 2001 From: "Khushboo Bhatt (Open ERP)" Date: Wed, 29 Aug 2012 15:58:34 +0530 Subject: [PATCH 2/3] [FIX]l10n_in_hr_payroll:All company contribution will not appear on the payslip excepts if company deduction from employee salary bzr revid: kbh@tinyerp.com-20120829102834-o52m2hyq69783ao1 --- addons/l10n_in_hr_payroll/data/l10n_in_hr_payroll_data.xml | 7 +++++++ 1 file changed, 7 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 8af9300ee49..91eb8e2ef0a 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 @@ -393,6 +393,7 @@ Now difference of income tax between payment year and actual year would be allow + Company provided transport amount is based on company. @@ -426,6 +427,7 @@ Now difference of income tax between payment year and actual year would be allow + The LWF is applicable to all the members of the organisation except the Management staff (Staffs having authority to sign on the cheque/official documents on behalf of the organisation). for e.x. Employee Contribution is Rs. 3.00 and Employer contribution Rs. 6.00 Total Rs 9.00 and deposited to the LWF office.It is half yearly contribution (June and December). @@ -437,6 +439,7 @@ Now difference of income tax between payment year and actual year would be allow + Group term insurance provides a solid foundation to a comprehensive employee benifit program,backed up by government asistance in the form of valuable tax incentives to both employees and employers. @@ -460,6 +463,7 @@ Now difference of income tax between payment year and actual year would be allow code result = - (contract.medical_insurance) + @@ -470,6 +474,7 @@ Now difference of income tax between payment year and actual year would be allow fix + @@ -482,6 +487,7 @@ Now difference of income tax between payment year and actual year would be allow result = payslip.company_id.dearness_allowance and - ((contract.wage + DA) * 0.10) or - (contract.wage * 0.10) + Any amount contributed by your employer to your NPS account is treated as part of your salary and is included in your income but you can claim deduction under Section 80C for this too.thus, effectively making it exempt from tax within the limit of 10% of your basic salary. This is very useful and tax efficient for you particularly if you fall in the maximum tax. @@ -493,6 +499,7 @@ Now difference of income tax between payment year and actual year would be allow 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 699720066b526c2d83ebe9e5f096e195717e3d36 Mon Sep 17 00:00:00 2001 From: "Khushboo Bhatt (Open ERP)" Date: Wed, 29 Aug 2012 16:35:28 +0530 Subject: [PATCH 3/3] [FIX]l10n_in_hr_payroll:description added bzr revid: kbh@tinyerp.com-20120829110528-mcvijjnfzt5xj594 --- addons/l10n_in_hr_payroll/data/l10n_in_hr_payroll_data.xml | 5 +++++ 1 file changed, 5 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 91eb8e2ef0a..5d8b4d0b5d8 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 @@ -64,6 +64,7 @@ contract.wage + Dearness allowance (D.A.) is part of a person's salary. It is calculated as a percent of the basic salary. This amount is then added to the basic salary along with house rent allowance to get the total salary. Or you can say that The Dearness Allowance is a part of the total compensation a person receives for having performed his or her job. @@ -74,6 +75,7 @@ House Rent Allowance + HRA is an allowance given by the employer to the employee for taking care of his rental or accommodation expenses. @@ -83,6 +85,7 @@ fix + A conveyance allowance refers to an amount of money reimbursed to someone for the operation of a vehicle or the riding of a vehicle. The allowance is typically a designated amount or percentage of total transportation expenses that is referenced in a country's tax laws or code. Organizations and private or public businesses may also offer a conveyance allowance in addition to reimbursing employees or members for transportation expenses. In this instance, the conveyance allowance may identify an unusual transport occurrence that may not be covered by a designated travel expense report such as travel to a specific job site that requires a daily bus or taxi ride. @@ -127,6 +130,7 @@ code result = payslip.company_id.dearness_allowance and ((contract.wage + DA) * 0.10) or (contract.wage * 0.10) + This allowance is paid to Employees who are posted in big cities. The purpose is to compensate the high cost of living in cities like Mumbai, Delhi, etc. However it is Fully Taxable. @@ -347,6 +351,7 @@ Now difference of income tax between payment year and actual year would be allow 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 + Workers living in states that impose the professional tax must submit a payment each half-year for the right to practice a profession or trade. It applies equally to employees who work for the national or state government, and those employed by private corporations. The professional tax uses a six-month accounting system, which divides the year into two periods, beginning on April 1 and October 1.