diff --git a/addons/hr_payroll/hr_payroll_demo.xml b/addons/hr_payroll/hr_payroll_demo.xml
index 33b345591eb..36ac3e23a7b 100644
--- a/addons/hr_payroll/hr_payroll_demo.xml
+++ b/addons/hr_payroll/hr_payroll_demo.xml
@@ -31,12 +31,6 @@
House Rent Allowance
- Rent receipts can be shown for taking tax benefit for living in a rented house.Income tax exemption for HRA will be least of following:
- 1. The actual amount of HRA received as a part of salary.
- 2. 40% (if living in non-metro area) or 50% (if living in metro area) of (basic salary+Dearness allowance (DA)).
- 3. Rent paid minus 10% of (basic salary+DA).
- Read more: http://www.pankajbatra.com/finance/income-tax-calculator-2012-2013-2014/#ixzz1upoomH73
-
@@ -56,8 +50,6 @@
Professional Tax
- Professional tax deducted from salary by employer should be removed from taxable salary before computation of income tax.
- Read more: http://www.pankajbatra.com/finance/income-tax-calculator-2012-2013-2014/#ixzz1uugbJcaM
diff --git a/addons/l10n_in_hr_payroll/__openerp__.py b/addons/l10n_in_hr_payroll/__openerp__.py
index 27528fbddcf..c605756417e 100644
--- a/addons/l10n_in_hr_payroll/__openerp__.py
+++ b/addons/l10n_in_hr_payroll/__openerp__.py
@@ -30,12 +30,13 @@
Indian Payroll Rules.
=======================
- * Employee Details
+ -Configuration of hr_payroll for India localization
+ -All main contributions rules for India payslip.
+ * New payslip report
* Employee Contracts
- * Passport based Contract
- * Allowances / Deductions
* Allow to configure Basic / Grows / Net Salary
* Employee PaySlip
+ * Allowance / Deduction
* Monthly Payroll Register
* Integrated with Holiday Management
* Medical Allowance, Travel Allowance, Child Allowance, ...
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..04e265e136f 100644
--- a/addons/l10n_in_hr_payroll/data/hr.salary.rule.csv
+++ b/addons/l10n_in_hr_payroll/data/hr.salary.rule.csv
@@ -1,10 +1,7 @@
"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","Child Education Allowance",23,"CHEAONE","hr_payroll_rule_child1","range","employee.children",
-2,"fix",2,10,,2400,"Education Allowance","Child Education Allowance",24,"CHEATWO","hr_payroll_rule_child1","range","employee.children",
+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",
,,,,,,,,,,,,,
+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",
,,,,,,,,,,,,,
-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 dc075b0be36..8d85ebbdf09 100644
--- a/addons/l10n_in_hr_payroll/l10n_in_hr_payroll.py
+++ b/addons/l10n_in_hr_payroll/l10n_in_hr_payroll.py
@@ -19,16 +19,75 @@
#
##############################################################################
+import time
+from datetime import datetime
+from calendar import isleap
+from dateutil.relativedelta import relativedelta
+
from osv import fields, osv
import decimal_precision as dp
class hr_contract_in(osv.osv):
_inherit = 'hr.contract'
-
+ _description = 'contract'
+
_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'), 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."),
+ 'food_coupon_amount': fields.float('Food Coupons ', digits_compute=dp.get_precision('Payroll'), help="Amount of food coupon per day."),
+ '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_in()
+
+class hr_employee(osv.osv):
+ _inherit = 'hr.employee'
+ _description = 'employee'
+
+ def _compute_year(self, cr, uid, ids, fields, args, context=None):
+ """
+ @param cr: the current row, from the database cursor,
+ @param uid: the current user’s ID for security checks,
+ @param ids: List of employee’s IDs
+ @return: No. of years of experience.
+ @param context: A standard dictionary for contextual values
+ """
+ res = {}
+ DATETIME_FORMAT = "%Y-%m-%d"
+ c_date = time.strftime(DATETIME_FORMAT)
+ current_date = datetime.strptime(c_date,DATETIME_FORMAT)
+ for employee in self.browse(cr, uid, ids, context=context):
+ if employee.join_date:
+ date_start = datetime.strptime(employee.join_date, DATETIME_FORMAT)
+ diffyears = current_date.year - date_start.year
+ difference = current_date - date_start.replace(current_date.year)
+ days_in_year = isleap(current_date.year) and 366 or 365
+ difference_in_years = diffyears + (difference.days + difference.seconds/86400.0)/days_in_year
+ total_years = relativedelta(current_date, date_start).years
+ total_months = relativedelta(current_date, date_start).months
+ if total_months < 10:
+ year_month= float(total_months)/10 + total_years
+ else:
+ year_month = float(total_months)/100 + total_years
+ res[employee.id] = year_month
+ else:
+ res[employee.id] = 0.0
+ return res
+
+ _columns = {
+ 'join_date': fields.date('Join Date', help="joining date of employee "),
+ 'number_of_year':fields.function(_compute_year, string='No. of Years of Service', type="float", store=True, help="Total years of work experience."),
+ }
+hr_employee()
+
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
\ No newline at end of file
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 e5286409100..c21a1aed02b 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
@@ -1,16 +1,48 @@
+
-
-
-
- Child Education Allowance
- CEA
-
+
+ HRAM
+ code
+ result = (contract.wage + DA) * 0.50
+
+ House Rent Allowance for metro city
+
+ Rent receipts can be shown for taking tax benefit for living in a rented house.
+Income tax exemption for HRA will be least of following:
+ 1. The actual amount of HRA received as a part of salary.
+ 2. 40% (if living in non-metro area).
+ 3. Rent paid minus 10% of (basic salary+DA).
+
-
+
+ code
+ result = (contract.wage + DA) * 0.40
+ HRANM
+
+ House Rent Allowance for non metro city
+
+ Rent receipts can be shown for taking tax benefit for living in a rented house.
+Income tax exemption for HRA will be least of following:
+ 1. The actual amount of HRA received as a part of salary.
+ 2. 50% (if living in metro area) of (basic salary+Dearness allowance (DA)).
+ 3. Rent paid minus 10% of (basic salary+DA).
+
+
+
+
+
+ FC
+
+ none
+ Food Coupons Allowance
+ code
+ result = worked_days.WORK100.number_of_days * contract.food_coupon_amount
+
+
DA
@@ -18,55 +50,72 @@
percentage
contract.wage
-
-
- DA is calculated in %
- for more details:http://www.citehr.com/26809-how-calculate-dearness-allowance-da.html
-
-
-
- CEA
- Child Education Allowance
-
- fix
- none
-
- Per school going child 1200 per annum is non-taxable. Maximum for 2 children, so max 2400 per annum becomes non-taxable.
+
+
+ DA is calculated in %
CHEA
- Education Allowance
+ Child Education Allowance
-
python
result = bool(employee.children)
fix
- Per school going child 1200 per annum is non-taxable. Maximum for 2 children, so max 2400 per annum becomes non-taxable.
-
+
+ Per school going child 1200 per annum is non-taxable.Maximum for 2 children, so max 2400 per annum becomes non-taxable.
+
+ CHEAH
+ Child Hostel Allowance
+
+ python
+ result = bool(employee.children)
+ fix
+ In case the children are in hostel, the exemption available for child.
+
+
- MGMTA
+ SA
Grade/Special/Management/Supplementary Allowance
fix
-
-
- This allowance is normally given as an additional benefit to employees and is fully taxable.
- for more details : http://www.rupeetalk.com/finance-basics/income-tax-basics/income-tax-guides/tax-implications-of-salary-components.php
+
+
+ This allowance is normally given as an additional benefit to employees and is fully taxable.
-
- CCA
+
+ CBDA
City Compensatory Allowance
+ none
+
+ code
+ result = (contract.wage + DA) * 0.10
+
+
+
+
+ CMETRO
+ City Allowance for Metro city
+
+ none
+
fix
-
-
- 10% of basic+da is the maximum.
- for more details :http://www.citehr.com/250071-what-cca-allowance.html
+ 850.0
+
+
+
+ CNMETRO
+ City Allowance for Non Metro city
+
+ none
+
+ fix
+ 800.0
@@ -74,12 +123,11 @@
Arrears
fix
-
-
- Generally arrears are fully taxable, but employee may claim exemption u/s 89(1).
- One would need to compute income tax on the arrears if it would have been received in actual year.
- Now difference of income tax between payment year and actual year would be allowed for deduction.
- Read more: http://www.pankajbatra.com/finance/income-tax-calculator-2012-2013-2014/#ixzz1uurtGGGd
+
+
+ Generally arrears are fully taxable, but employee may claim exemption u/s 89(1).
+One would need to compute income tax on the arrears if it would have been received in actual year.
+Now difference of income tax between payment year and actual year would be allowed for deduction.
@@ -88,26 +136,21 @@
none
code
- result = (categories.NET/26) * 15 * 5
+ result = (contract.wage + DA) * 15 * employee.number_of_year / worked_days.WORK100.number_of_days
- Covered under the Payment of Gratuity Act, 1971: (Last drawn monthly basic salary + dearness allowance)/26 x 15 days x number of years of service (date of joining – date of retirement/leaving job)
-
+ Covered under the Payment of Gratuity Act, 1971:
+(Last drawn monthly basic salary + dearness allowance)/26 x 15 days x
+number of years of service (date of joining – date of retirement/leaving job)
LTA
Leave Travel Allowance
- percentage
- contract.wage
-
-
- As per Income tax rules of India, if transport bills for LTA are not provided,
- the amount will be taxed. E.g. If an employee has LTA allowance as Rs 50,000 in his CTC(cost to company),
- and he provides proofs of Rs 40,000 (boarding pass, air tickets, taxi vouchers) then income tax will be
- deducted for rest of the Rs 10,000. Does not matter whats the amount of LTA in an employee’s package,
- income tax laws only permits domestic air tickets only for LTA claim.
- Read more: http://www.pankajbatra.com/news/lta-proof-reimbursement-to-employer-not-required-supreme-court-india-ruling/#ixzz1uutlHSez
+ fix
+ 1666
+
+ As per Income tax rules of India, if transport bills for LTA are not provided,the amount will be taxed. E.g. If an employee has LTA allowance as Rs 50,000 in his CTC(cost to company),and he provides proofs of Rs 40,000 (boarding pass,air tickets, taxi vouchers) then income tax will be deducted for rest of the Rs 10,000. Does not matter whats the amount of LTA in an employee’s package, income tax laws only permits domestic air tickets only for LTA claim.
@@ -117,17 +160,12 @@
none
fix
0.0
-
- Payment by way of leave encashment received by Central and State Govt.
- employees at the time of retirement in respect of the period of earned
- leave at credit is fully exempt. In case of other employees, the exemption
- is to be limited to minimum of all below:
- 1.The actual amount received
- 2.The cash equivalent of leave balance (max 30 days per year of service)
- 3.Maximum of 10 months of leave encashment, based on last 10 months average salary
- 4.Rs. 3 Lakh
- Read more: http://www.pankajbatra.com/finance/income-tax-calculator-2012-2013-2014/#ixzz1uuunHwjE
-
+
+ Payment by way of leave encashment received by Central and State Govt.employees at the time of retirement in respect of the period of earned leave at credit is fully exempt. In case of other employees, the exemption is to be limited to minimum of all below:
+ 1.The actual amount received
+ 2.The cash equivalent of leave balance (max 30 days per year of service)
+ 3.Maximum of 10 months of leave encashment, based on last 10 months average salary
+ 4.Rs. 3 Lakh
@@ -135,8 +173,8 @@
Performance Incentive/Bonus
fix
-
-
+
+
This would be fully taxable based on incentive.
@@ -145,8 +183,8 @@
Medical Reimbursement
fix
-
-
+
+
This component is on-taxable up to 15000 per year (or Rs 1250 per month) on producing medical bills.
@@ -155,11 +193,9 @@
Periodical Journals
fix
-
-
- Some employers may provide component for buying magazines,
- journals and books as a part of knowledge enhancement for business growth.
- This part would become non taxable on providing original bills.
+
+
+ Some employers may provide component for buying magazines, journals and books as a part of knowledge enhancement for business growth.This part would become non taxable on providing original bills.
@@ -167,10 +203,9 @@
Uniform/Dress Allowance
fix
-
-
- Some sections of employees mat get allowance for purchase of office dress/uniform.
- In such case, the component would become non-taxable.
+
+
+ Some sections of employees mat get allowance for purchase of office dress/uniform.In such case, the component would become non-taxable.
@@ -178,25 +213,29 @@
Telephone Reimbursement
fix
-
-
- In some of the cases, companies may provide a component for telephone bills.
- Employees may provide actual phone usage bills to reimburse this component and make it non-taxable.
- Read more: http://www.pankajbatra.com/finance/income-tax-calculator-2012-2013-2014/#ixzz1uuvaUK7A
+ 1500
+
+ In some of the cases, companies may provide a component for telephone bills.Employees may provide actual phone usage bills to reimburse this component and make it non-taxable.
+
+ PDA
+ Professional Development Allowance
+
+ fix
+
+
+
+
CAR
Car Expenses Reimbursement
fix
-
-
- In case company provides component for this and employee use self owned car for official
- and personal purposes, Rs 1800 per month would be non-taxable on showing bills for fuel or
- can maintenance. This amount would be Rs 2400 in case car is more capacity than 1600cc.
- Read more: http://www.pankajbatra.com/finance/income-tax-calculator-2012-2013-2014/#ixzz1uuw12Cjj
+ 1800
+
+ In case company provides component for this and employee use self owned car for official and personal purposes, Rs 1800 per month would be non-taxable on showing bills for fuel or can maintenance. This amount would be Rs 2400 in case car is more capacity than 1600cc.
@@ -204,8 +243,8 @@
Internet Expense
fix
-
-
+
+
Employer may also provide reimbursement of internet expenses and thus this would become non taxable.
@@ -213,9 +252,11 @@
DRI
Driver Salary
+ python
+ result = bool(contract.driver_salay)
fix
-
-
+
+
Rs. 900 per month (non taxable)
@@ -224,10 +265,10 @@
Gifts From Non-Relatives
fix
-
-
- gift 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.
+
+
+ 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.
@@ -235,8 +276,8 @@
Gifts From Relatives
fix
-
-
+
+
gift is from relaives whould be non taxable with no limits.
@@ -244,11 +285,31 @@
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)
+
+
+
+
+ TCA
+ Transport/Conveyance Allownace
+
fix
-
- Income from house property
-
- 30% of the rental income can be reduced as a standard deduction
+
+
@@ -256,52 +317,58 @@
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
-
-
- if stocks/equity mutual funds are sold before one year,
- 15% tax would be payable on such gains. STT should have been on transaction.
- Read more: http://www.pankajbatra.com/finance/income-tax-calculator-2012-2013-2014/#ixzz1uuwSxEvI
+ 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
- fix
-
-
- 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.
- Read more: http://www.pankajbatra.com/finance/income-tax-calculator-2012-2013-2014/#ixzz1uuwtRkCT
+ 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.
-
-
- PTG
- Professional Tax for Gujarat
+
+
+ PTD
+ 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,
- THE AMOUNT IS Rs. 2000 PER YEAR. THERE IS NO PAYMENT FORM TO BE FLLED.
- Attribution: http://www.citehr.com/249518-companys-professional-tax-gujarat.html#ixzz1uuyvgt2L
+ 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.
@@ -313,41 +380,29 @@
code
result = -(contract.tds)
- As per income tax rules, all payment which are taxable in nature should be
- done after deduction of taxes at the source itself. Hence employer compute
- income tax on salary payment and deduct it every month. This TDS is based
- on employee’s saving/investment declaration at the start of year. If
- investments for tax saving is not done, large amount may be deducted in last few months.
- Read more: http://www.pankajbatra.com/finance/income-tax-calculator-2012-2013-2014/#ixzz1uv0gPhgQ
+ As per income tax rules, all payment which are taxable in nature should be done after deduction of taxes at the source itself. Hence employer compute income tax on salary payment and deduct it every month. This TDS is based on employee’s saving/investment declaration at the start of year. If investments for tax saving is not done, large amount may be deducted in last few months.
VPF
Voluntarily Provident Fund Contribution
- fix
-
-
-
- VPF is a safe option wherein you can contribute more than the PF ceiling of 12%
- that has been mandated by the government. This additional amount enjoys all the
- benefits of PF except that the employer is not liable to contribute any extra amount
- apart from 12%. An added advantage is that the interest rate is equal to the interest
- rate of PF and the withdrawal is tax free. Please note that the maximum contribution
- towards VPF is 100% of your Basic. The highest rate of interest (close to 9%) makes
- it a very attractive saving scheme. Because of these advantages many employees chose
- not to close their PF account even after getting employment else where other than India.
- Employees also get a major tax break on their entire contribution to the fund up to a
- ceiling of Rs. 70,000/-
- for more details:http://www.dotcominfoway.com/blog/vpf-or-voluntary-provident-fund-special-benefits-for-employees
+ python
+ result = bool(contract.voluntary_provident_fund)
+ code
+ result = -(contract.wage + DA) * contract.voluntary_provident_fund / 100
+
+ VPF is a safe option wherein you can contribute more than the PF ceiling of 12% that has been mandated by the government.This additional amount enjoys all the benefits of PF except that the employer is not liable to contribute any extra amount apart from 12%.An added advantage is that the interest rate is equal to the interest rate of PF and he withdrawal is tax free. Please note that the maximum contribution towards VPF is 100% of your Basic.The highest rate of interest (close to 9%) makes it a very attractive saving scheme. Because of these advantages many employees chose not to close their PF account even after getting employment else where other than India.Employees also get a major tax break on their entire contribution to the fund up to a ceiling of Rs. 70,000/-
CPT
Dedution for Company Provided Transport
- fix
-
+ python
+ result = bool(contract.company_transport)
+ code
+ result = -(contract.company_transport)
@@ -356,15 +411,9 @@
Dedution Towards State Labour Welfare Fund
fix
-
+
- 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)
- 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)
- Attribution: http://www.citehr.com/270132-labour-welfare-fund-deduction-salary.html
+ 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).
@@ -372,7 +421,7 @@
Dedution Towards Company Provided Group Term Insurance
fix
-
+
@@ -380,8 +429,10 @@
DLA
Dedution Towards Leave Availed
- fix
-
+ python
+ result = bool(contract.leave_avail_dedution)
+ code
+ result = -(contract.leave_avail_dedution)
@@ -389,7 +440,10 @@
CMT
Dedution Towards Company Provided Medical Insurance
- fix
+ python
+ result = bool(contract.medical_insurance)
+ code
+ result = - (contract.medical_insurance)
@@ -404,12 +458,43 @@
- EPC
+ EPF
Employer's PF Contribution
code
- result = (rules.PF.amount_percentage * contract.wage)/100
+ result = - (contract.wage + DA) * 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.
+
+
+
+ EPMF
+ Employee's PF Contribution
+
+ code
+ result = - (contract.wage + DA) * 8.33 / 100
+ Employer contribution does not become part of employee’s income and hence income tax is not payable on this part.
+
+
+
+
+ ENPC
+ Employer's NPS Contribution
+
+ code
+ result = - (contract.wage + DA) * 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.
+
+
+
+ ENPFC
+ Employee's NPS Contribution
+
+ code
+ result = - (contract.wage + DA) * 0.10
+
+ Employee can claim deduction even of employer's contribution to NPS.
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 cb9a2d93a81..29323b458d5 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,11 +11,42 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ hr.employee.form.inherit
+ hr.employee
+ form
+
+
+
+
+
+
-
diff --git a/addons/l10n_in_hr_payroll/security/hr.salary.rule.csv b/addons/l10n_in_hr_payroll/security/hr.salary.rule.csv
index f18a77cd01b..0015ef665b0 100644
--- a/addons/l10n_in_hr_payroll/security/hr.salary.rule.csv
+++ b/addons/l10n_in_hr_payroll/security/hr.salary.rule.csv
@@ -1,3 +1,2 @@
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
-"access_hr_salary_head","hr.salary.head","model_hr_salary_head","base.group_hr_user",1,1,1,1
"access_hr_salary_rule","hr.salary.rule","model_hr_salary_rule","base.group_hr_user",1,1,1,1
diff --git a/addons/l10n_in_hr_payroll/static/src/img/icon.png b/addons/l10n_in_hr_payroll/static/src/img/icon.png
new file mode 100644
index 00000000000..ddaf38f8b6d
Binary files /dev/null and b/addons/l10n_in_hr_payroll/static/src/img/icon.png differ