From 73cbeb50e24d53c2fe4bc2525d17c97c2e0b8154 Mon Sep 17 00:00:00 2001 From: "Jagdish Panchal (Open ERP)" Date: Thu, 5 Jul 2012 19:05:41 +0530 Subject: [PATCH] [IMP] l10n_in_hr_payroll: Remove Allowances from Gift from non relatives to Long term gain and loss and Remove deduction from contract and change the salary rule bzr revid: jap@tinyerp.com-20120705133541-zkfrnugrun6hjywt --- .../data/l10n_in_hr_payroll_data.xml | 106 ++---------------- .../l10n_in_hr_payroll/l10n_in_hr_payroll.py | 8 -- .../l10n_in_hr_payroll_view.xml | 8 -- 3 files changed, 8 insertions(+), 114 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 5140dd84299..9080ca577bd 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 @@ -266,93 +266,6 @@ number of years of service (date of joining – date of retirement/leaving job)< Rs. 900 per month (non taxable) - - GFNR - Gifts From Non-Relatives - - fix - - - Gift is from non relatives person worth more than Rs.50000, -one is liable to pay the tax what ever he received excess of the limit or Rs 50,000. - - - - GFR - Gifts From Relatives - - fix - - - gift is from relaives whould be non taxable with no limits. - - - - AI - Agricultural Income - - fix - - - - - - HRI - House Rent Income - - code - result = contract.house_rent_income - none - - 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) - - - - - OTI - Other Income - - python - result = bool(contract.other_income) - code - result = contract.other_income - Bank account/NSC/Post Office/SCSS interest - - - - - STG - Short Term Gains from Share Trading/Equity MFs - - code - result = contract.short_term_gain - python - result = bool(contract.short_term_gain) - - If stocks/equity mutual funds are sold before one year, 15% tax would be payable on such gains. STT should have been on transaction. - - - - LTG - Long Term Gains from Share Trading/Equity MFs - - 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,it would be long term gains and such gains would be fully exempt from income tax. Securities transaction tax (STT) must have been paid on transactions for availing this exemption. - @@ -372,10 +285,9 @@ one is liable to pay the tax what ever he received excess of the limit or Rs 50, PTD Professional Tax - python - result = bool(contract.professional_tax) + none code - result = -(contract.professional_tax) + 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 Professional tax for company should be paid on or before 30th sept,The amount is Rs.2000 per year.There is no payment form to be filled. @@ -417,10 +329,9 @@ one is liable to pay the tax what ever he received excess of the limit or Rs 50, CPT Deduction for Company Provided Transport - python - result = bool(contract.company_transport) - code - result = -(contract.company_transport) + none + fix + @@ -457,10 +368,9 @@ one is liable to pay the tax what ever he received excess of the limit or Rs 50, DLA Deduction Towards Leave Availed - python - result = bool(contract.leave_avail_dedution) - code - result = -(contract.leave_avail_dedution) + none + fix + 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 7465453df3c..3f00ecf9c63 100644 --- a/addons/l10n_in_hr_payroll/l10n_in_hr_payroll.py +++ b/addons/l10n_in_hr_payroll/l10n_in_hr_payroll.py @@ -41,17 +41,9 @@ class hr_contract(osv.osv): _columns = { 'tds': fields.float('TDS', digits_compute=dp.get_precision('Payroll'), help="Amount for Tax Deduction at Source"), - 'house_rent_income': fields.float('House Rent Income ', digits_compute=dp.get_precision('Payroll'), help="Income from house property"), - 'saving_bank_account': fields.float('Saving Bank Account Income ', digits_compute=dp.get_precision('Payroll'), help="Saving income for bank account"), - 'other_income': fields.float('Other Income ', digits_compute=dp.get_precision('Payroll'), help="Other income of employee"), - 'short_term_gain':fields.float('Short Term Gain from Share Trading/Equity MFs ', digits_compute=dp.get_precision('Payroll'), help="Stocks/equity mutual funds are sold before one year"), - 'long_term_gain':fields.float('Long Term Gain from Share Trading/Equity MFs', digits_compute=dp.get_precision('Payroll'), help="Stocks/equity mutual funds are kept for more than a year"), 'driver_salay': fields.boolean('Driver Salary', help=" Allowance for company provided driver"), - 'professional_tax': fields.float('Professional Tax ', digits_compute=dp.get_precision('Payroll'), help="Professional tax deducted from salary"), - 'leave_avail_dedution': fields.float('Leave Availed Deduction ', digits_compute=dp.get_precision('Payroll'), help="Deduction for emergency leave of employee"), '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(%)"), - 'company_transport': fields.float('Company Provided Transport', digits_compute=dp.get_precision('Payroll'), help="Deduction for company provided transport"), } hr_contract() 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 124c4f1553f..ddd6543df34 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 @@ -12,20 +12,12 @@ - - - - - - - -