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 2b6b4fbd847..b41229965c8 100644 --- a/addons/l10n_in_hr_payroll/data/hr.salary.rule.csv +++ b/addons/l10n_in_hr_payroll/data/hr.salary.rule.csv @@ -3,8 +3,3 @@ 2,"fix",2,10,,2400,"Education Allowance","Child Education Allowance",24,"CHEATWO","hr_payroll_rule_child1","range","employee.children", ,,,,,,,,,,,,, ,,,,,,,,,,,,, -5,"fix",0,2999,,0,"Professional Tax for Gujarat","Deduction",121,"PT0","hr_payslip_line_professionaltax_guj","range","categories.GROSS", -6,"fix",3000,5999,,-20,"Professional Tax for Gujarat","Deduction",121,"PT20","hr_payslip_line_professionaltax_guj","range","categories.GROSS", -7,"fix",6000,8999,,-80,"Professional Tax for Gujarat","Deduction",121,"PT80","hr_payslip_line_professionaltax_guj","range","categories.GROSS", -8,"fix",9000,11999,,-150,"Professional Tax for Gujarat","Deduction",121,"PT150","hr_payslip_line_professionaltax_guj","range","categories.GROSS", -9,"fix",12000,1000000,,-200,"Professional Tax for Gujarat","Deduction",121,"PT200","hr_payslip_line_professionaltax_guj","range","categories.GROSS", 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 ee373b20f3c..1a2f25be562 100644 --- a/addons/l10n_in_hr_payroll/l10n_in_hr_payroll.py +++ b/addons/l10n_in_hr_payroll/l10n_in_hr_payroll.py @@ -63,9 +63,19 @@ class hr_contract_in(osv.osv): _columns = { 'tds': fields.float('TDS', digits_compute=dp.get_precision('Payroll')), + 'house_rent_income': fields.float('House Rent Income ', digits_compute=dp.get_precision('Payroll')), + 'saving_bank_account': fields.float('Saving Bank Account Income ', digits_compute=dp.get_precision('Payroll')), + 'other_income': fields.float('Other Income ', digits_compute=dp.get_precision('Payroll')), + 'short_term_gain':fields.float('Short Term Gain from Share Trading/Equity MFs ', digits_compute=dp.get_precision('Payroll')), + 'long_term_gain':fields.float('Long Term Gain from Share Trading/Equity MFs', digits_compute=dp.get_precision('Payroll')), 'food_coupon_amount': fields.float('Food Coupons ', digits_compute=dp.get_precision('Payroll')), + 'driver_salay': fields.boolean('Driver salary '), + 'professional_tax': fields.float('Professional Tax ', digits_compute=dp.get_precision('Payroll')), + 'leave_avail_dedution': fields.float('leave Avail deduction ', digits_compute=dp.get_precision('Payroll')), 'No_of_year':fields.function(_compute_year, string='No. of Years of service',type="float",readonly=True), - + 'medical_insurance': fields.float('Medical Insurance', digits_compute=dp.get_precision('Payroll')), + 'voluntarily_provident_fund': fields.float('Voluntarily Provident Fund', digits_compute=dp.get_precision('Payroll')), + 'company_transport': fields.float('Company provided transport', digits_compute=dp.get_precision('Payroll')), } hr_contract_in() diff --git a/addons/l10n_in_hr_payroll/l10n_in_hr_payroll_data.xml b/addons/l10n_in_hr_payroll/l10n_in_hr_payroll_data.xml index 101877a9d3b..81cb1bcd725 100644 --- a/addons/l10n_in_hr_payroll/l10n_in_hr_payroll_data.xml +++ b/addons/l10n_in_hr_payroll/l10n_in_hr_payroll_data.xml @@ -54,7 +54,7 @@ Per school going child 1200 per annum is non-taxable. Grade/Special/Management/Supplementary Allowance fix - + This allowance is normally given as an additional benefit to employees and is fully taxable. @@ -209,8 +209,8 @@ In such case, the component would become non-taxable. TELR Telephone Reimbursement - fix - + code + result = 1500 *12 In some of the cases, companies may provide a component for telephone bills. @@ -233,8 +233,8 @@ Read more: http://www.pankajbatra.com/finance/income-tax-calculator-2012-2013-20 CAR Car Expenses Reimbursement - fix - + code + result = 1800 * 12 In case company provides component for this and employee use self owned car for official @@ -248,7 +248,7 @@ Read more: http://www.pankajbatra.com/finance/income-tax-calculator-2012-2013-20 Internet Expense fix - + Employer may also provide reimbursement of internet expenses and thus this would become non taxable. @@ -257,11 +257,10 @@ Read more: http://www.pankajbatra.com/finance/income-tax-calculator-2012-2013-20 DRI Driver Salary + python + result = bool(contract.driver_salay) fix - python - result = bool(employee.vehicle) - Rs. 900 per month (non taxable) @@ -271,7 +270,7 @@ Read more: http://www.pankajbatra.com/finance/income-tax-calculator-2012-2013-20 Gifts From Non-Relatives fix - + gift gift is from non relatives person worth more than Rs.50000, @@ -283,7 +282,7 @@ one is liable to pay the tax what ever he received excess of the limit or Rs 50, Gifts From Relatives fix - + gift is from relaives whould be non taxable with no limits. @@ -293,10 +292,22 @@ one is liable to pay the tax what ever he received excess of the limit or Rs 50, House Rent Income fix - - Income from house property + + python + result = bool(contract.house_rent_income) - 30% of the rental income can be reduced as a standard deduction + Income from house property.30% of the rental income can be reduced as a standard deduction + + + + SBAI + Saving Bank Account Interest + + code + result = contract.saving_bank_account + python + result = bool(contract.saving_bank_account) + @@ -313,19 +324,30 @@ one is liable to pay the tax what ever he received excess of the limit or Rs 50, Other Income python - result = bool(contract.others) + result = bool(contract.other_income) code - result = contract.others + result = contract.other_income Bank account/NSC/Post Office/SCSS interest + + AI + Agricultural Income + + fix + + + + STG Short Term Gains from Share Trading/Equity MFs - fix - + code + result = contract.short_term_gain + python + result = bool(contract.short_term_gain) If stocks/equity mutual funds are sold before one year, @@ -337,8 +359,10 @@ Read more: http://www.pankajbatra.com/finance/income-tax-calculator-2012-2013-20 LTG Long Term Gains from Share Trading/Equity MFs - fix - + code + result = contract.long_term_gain + python + result = bool(contract.long_term_gain) If stocks/equity mutual funds are kept for more than a year before sale, @@ -349,13 +373,15 @@ Read more: http://www.pankajbatra.com/finance/income-tax-calculator-2012-2013-20 - - PTG - Professional Tax for Gujarat + + PT + Professional Tax - fix + python + result = bool(contract.professional_tax) + code + result = -(contract.professional_tax) - Professional tax for company should be paid on or before 30th sept, @@ -385,8 +411,10 @@ Read more: http://www.pankajbatra.com/finance/income-tax-calculator-2012-2013-20 VPF Voluntarily Provident Fund Contribution - fix - + python + result = bool(contract.voluntarily_provident_fund) + code + result = -(contract.voluntarily_provident_fund) VPF is a safe option wherein you can contribute more than the PF ceiling of 12% @@ -406,8 +434,10 @@ read more: more:http://www.dotcominfoway.com/blog/vpf-or-voluntary-provident-fun CPT Dedution for Company Provided Transport - fix - + python + result = bool(contract.company_transport) + code + result = -(contract.company_transport) @@ -416,7 +446,7 @@ read more: more:http://www.dotcominfoway.com/blog/vpf-or-voluntary-provident-fun Dedution Towards State Labour Welfare Fund fix - + The LWF is applicable to all the members of the organisation except the @@ -433,7 +463,7 @@ read more: http://www.citehr.com/270132-labour-welfare-fund-deduction-salary.htm Dedution Towards Company Provided Group Term Insurance fix - + @@ -441,8 +471,10 @@ read more: http://www.citehr.com/270132-labour-welfare-fund-deduction-salary.htm DLA Dedution Towards Leave Availed - fix - + python + result = bool(contract.leave_avail_dedution) + code + result = -(contract.leave_avail_dedution) @@ -450,7 +482,10 @@ read more: http://www.citehr.com/270132-labour-welfare-fund-deduction-salary.htm CMT Dedution Towards Company Provided Medical Insurance - fix + python + result = bool(contract.medical_insurance) + code + result = - (contract.medical_insurance) @@ -469,9 +504,37 @@ read more: http://www.citehr.com/270132-labour-welfare-fund-deduction-salary.htm Employer's PF Contribution code - result = (rules.PF.amount_percentage * contract.wage)/100 + result = (contract.wage + DA) * 0.12 + + + EPFC + Employee's PF Contribution + + code + result = (contract.wage + DA) / 8.33 + + + + + ENPC + Employer's NPS Contribution + + code + result = (contract.wage + DA) * 0.10 + + + + + ENPFC + Employee's NPS Contribution + + code + result = (contract.wage + DA) * 0.10 + + + diff --git a/addons/l10n_in_hr_payroll/l10n_in_hr_payroll_view.xml b/addons/l10n_in_hr_payroll/l10n_in_hr_payroll_view.xml index f09c326bff1..b6096873748 100644 --- a/addons/l10n_in_hr_payroll/l10n_in_hr_payroll_view.xml +++ b/addons/l10n_in_hr_payroll/l10n_in_hr_payroll_view.xml @@ -11,9 +11,26 @@ - + + + + + + + + + + + + + + + + + +