[IMP]improved salary rules,descriptions for rules, fields tooltip,gratuity calculation method,code for rules.

bzr revid: kbh@tinyerp.com-20120523054519-bdrmcnryfvj30j99
This commit is contained in:
Khushboo Bhatt (Open ERP) 2012-05-23 11:15:19 +05:30
parent d2d7cd1292
commit cf88acabfa
6 changed files with 92 additions and 131 deletions

View File

@ -23,15 +23,14 @@
<!-- Salary Rules -->
<record id="hr_salary_rule_houserentallowancemetro" model="hr.salary.rule">
<field name="code">HRA_M</field>
<field name="code">HRAM</field>
<field name="amount_select">code</field>
<field name="amount_python_compute">result = (contract.wage + DA) * 0.50</field>
<field name="category_id" ref="hr_payroll.ALW"/>
<field name="register_id" ref="hr_houserent_register"/>
<field name="name">House Rent Allowance for metro city</field>
<field name="sequence" eval="80"/>
<field name="note">
Rent receipts can be shown for taking tax benefit for living in a rented house.
<field name="note">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).
@ -43,13 +42,12 @@ Income tax exemption for HRA will be least of following:
<record id="hr_salary_rule_houserentallowancenonmetro" model="hr.salary.rule">
<field name="amount_select">code</field>
<field name="amount_python_compute">result = (contract.wage + DA) * 0.40</field>
<field name="code">HRA_NONM</field>
<field name="code">HRANM</field>
<field name="category_id" ref="hr_payroll.ALW"/>
<field name="register_id" ref="hr_houserent_register"/>
<field name="name">House Rent Allowance for non metro city</field>
<field name="sequence" eval="79"/>
<field name="note">
Rent receipts can be shown for taking tax benefit for living in a rented house.
<field name="note">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)).
@ -75,8 +73,7 @@ Income tax exemption for HRA will be least of following:
<field name="category_id" ref="hr_payroll.DED"/>
<field name="register_id" ref="hr_professional_tax_register"/>
<field name="name">Professional Tax</field>
<field name="note">
Professional tax deducted from salary by employer should be removed from taxable salary before computation of income tax.
<field name="note">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</field>
</record>
@ -142,7 +139,7 @@ Read more: http://www.pankajbatra.com/finance/income-tax-calculator-2012-2013-20
<record id="structure_001" model="hr.payroll.structure">
<field name="code">ME</field>
<field name="name">Marketing Executive</field>
<field eval="[(6, 0, [ref('hr_salary_rule_houserentallowance1'), ref('hr_salary_rule_convanceallowance1'),ref('hr_salary_rule_professionaltax1'),ref('hr_salary_rule_providentfund1')])]" name="rule_ids"/>
<field eval="[(6, 0, [ref('hr_salary_rule_houserentallowancemetro'), ref('hr_salary_rule_convanceallowance1'),ref('hr_salary_rule_professionaltax1'),ref('hr_salary_rule_providentfund1')])]" name="rule_ids"/>
<field name="company_id" ref="base.main_company"/>
<field name="parent_id" ref="structure_base"/>
</record>
@ -150,7 +147,7 @@ Read more: http://www.pankajbatra.com/finance/income-tax-calculator-2012-2013-20
<record id="structure_002" model="hr.payroll.structure">
<field name="code">MEQP</field>
<field name="name">Marketing Executive for Quentin Paolino</field>
<field eval="[(6, 0, [ref('hr_salary_rule_ca_paolino'), ref('hr_salary_rule_meal_voucher')])]" name="rule_ids"/>
<field eval="[(6, 0, [ref('hr_salary_rule_ca_paolino'), ref('hr_salary_rule_food_coupon')])]" name="rule_ids"/>
<field name="company_id" ref="base.main_company"/>
<field name="parent_id" ref="structure_001"/>
</record>

View File

@ -17,11 +17,11 @@
code: SD
company_id: base.main_company
rule_ids:
- hr_salary_rule_houserentallowance1
- hr_salary_rule_houserentallowancemetro
- hr_salary_rule_convanceallowance1
- hr_salary_rule_professionaltax1
- hr_salary_rule_providentfund1
- hr_salary_rule_meal_voucher
- hr_salary_rule_food_coupon
- hr_salary_rule_sales_commission
-
I create a contract for "Richard"

View File

@ -23,11 +23,11 @@ from osv import fields, osv
import decimal_precision as dp
import time
from datetime import datetime
from datetime import timedelta
from datetime import date
from datetime import datetime, timedelta, date
from calendar import isleap
from dateutil.relativedelta import relativedelta
from bsddb.dbtables import _columns
from epsilon.hotfix import require
class hr_contract_in(osv.osv):
_inherit = 'hr.contract'
@ -41,43 +41,53 @@ class hr_contract_in(osv.osv):
@param context: A standard dictionary for contextual values
"""
res = {}
for contract in self.browse(cr, uid, ids, context=context):
c_date = time.strftime('%Y-%m-%d')
DATETIME_FORMAT = "%Y-%m-%d"
date_start = datetime.strptime(contract.date_start, DATETIME_FORMAT)
current_date = datetime.strptime(c_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
years = relativedelta(current_date, date_start).years
months = relativedelta(current_date, date_start).months
mnth = months * 0.01
if months < 10:
year_month= float(mnth) + float(years)
res[contract.id] = year_month
else:
year_months = float(mnth) + float(years)
res[contract.id] = year_months
c_date = time.strftime('%Y-%m-%d')
DATETIME_FORMAT = "%Y-%m-%d"
current_date = datetime.strptime(c_date,DATETIME_FORMAT)
employee_pool = self.pool.get('hr.employee')
for contract in self.browse(cr, uid, ids, context):
employee = employee_pool.browse(cr, uid, contract.employee_id.id, 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 + float(total_years)
res[contract.id] = year_month
else:
year_months = float(total_months)/100 + float(total_years)
res[contract.id] = year_months
return res
_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'),help="it is computed as percentage.(%)"),
'company_transport': fields.float('Company provided transport', 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="if checked,driver get fixed salary per month."),
'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="emergency leave of employee"),
'number_of_year':fields.function(_compute_year, string='No. of Years of service',type="float",help="Total number of years and months of employee has work in company",store=True),
'medical_insurance': fields.float('Medical Insurance', digits_compute=dp.get_precision('Payroll'),help="Deduction towards company provided medical insurance"),
'voluntarily_provident_fund': fields.float('Voluntarily 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'
_columns = {
'join_date': fields.date('Join date',help="join date of employee in company",required=True)
}
hr_employee()
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -9,7 +9,6 @@
<field name="code">CEA</field>
<field name="parent_id" ref="hr_payroll.ALW"/>
</record>
<!-- Hr Salary Rules-->
<record id="hr_salary_rule_da" model="hr.salary.rule">
@ -20,8 +19,7 @@
<field name="amount_percentage_base">contract.wage</field>
<field name="amount_percentage" eval="50"/>
<field name="sequence" eval="20"/>
<field name="note">
DA is calculated in %
<field name="note">DA is calculated in %
for more details:http://www.citehr.com/26809-how-calculate-dearness-allowance-da.html</field>
</record>
@ -32,9 +30,8 @@ for more details:http://www.citehr.com/26809-how-calculate-dearness-allowance-da
<field name="amount_select">fix</field>
<field name="condition_select">none</field>
<field name="sequence" eval="21"/>
<field name="note">
Per school going child 1200 per annum is non-taxable.
Maximum for 2 children, so max 2400 per annum becomes non-taxable.</field>
<field name="note">Per school going child 1200 per annum is non-taxable.
Maximum for 2 children, so max 2400 per annum becomes non-taxable.</field>
</record>
<record id="hr_payroll_rule_child1" model="hr.salary.rule">
@ -50,14 +47,13 @@ Per school going child 1200 per annum is non-taxable.
<record id="hr_salary_rule_special" model="hr.salary.rule">
<field name="code">MGMTA</field>
<field name="code">SA</field>
<field name="name">Grade/Special/Management/Supplementary Allowance</field>
<field name="category_id" ref="hr_payroll.ALW"/>
<field name="amount_select">fix</field>
<field eval="0.0" name="amount_fix"/>
<field name="sequence" eval="28"/>
<field name="note">
This allowance is normally given as an additional benefit to employees and is fully taxable.
<field name="note">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</field>
</record>
@ -99,8 +95,7 @@ for more details : http://www.rupeetalk.com/finance-basics/income-tax-basics/inc
<field name="amount_select">fix</field>
<field eval="0.0" name="amount_fix"/>
<field name="sequence" eval="30"/>
<field name="note">
Generally arrears are fully taxable, but employee may claim exemption u/s 89(1).
<field name="note">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</field>
@ -112,10 +107,9 @@ Read more: http://www.pankajbatra.com/finance/income-tax-calculator-2012-2013-20
<field name="category_id" ref="hr_payroll.ALW"/>
<field name="condition_select">none</field>
<field name="amount_select">code</field>
<field name="amount_python_compute">result = (contract.wage + DA) * 15 * contract.No_of_year / worked_days.WORK100.number_of_days</field>
<field name="amount_python_compute">result = (contract.wage + DA) * 15 * contract.number_of_year / worked_days.WORK100.number_of_days</field>
<field name="sequence" eval="500"/>
<field name="note">
Covered under the Payment of Gratuity Act, 1971:
<field name="note">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)
</field>
@ -128,13 +122,7 @@ number of years of service (date of joining date of retirement/leaving job)
<field name="amount_select">fix</field>
<field name="amount_fix">1666</field>
<field name="sequence" eval="32"/>
<field name="note">
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 employees package,
income tax laws only permits domestic air tickets only for LTA claim.
<field name="note">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 employees 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</field>
</record>
@ -146,11 +134,7 @@ Read more: http://www.pankajbatra.com/news/lta-proof-reimbursement-to-employer-n
<field name="amount_select">fix</field>
<field name="amount_fix">0.0</field>
<field name="sequence" eval="33"/>
<field name="note">
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:
<field name="note">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
@ -186,10 +170,7 @@ is to be limited to minimum of all below:
<field name="amount_select">fix</field>
<field eval="0.0" name="amount_fix"/>
<field name="sequence" eval="36"/>
<field name="note">
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.</field>
<field name="note">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.</field>
</record>
<record id="hr_salary_rule_uniform" model="hr.salary.rule">
@ -199,9 +180,7 @@ business growth.This part would become non taxable on providing original bills.<
<field name="amount_select">fix</field>
<field eval="0.0" name="amount_fix"/>
<field name="sequence" eval="37"/>
<field name="note">
Some sections of employees mat get allowance for purchase of office dress/uniform.
In such case, the component would become non-taxable.</field>
<field name="note">Some sections of employees mat get allowance for purchase of office dress/uniform.In such case, the component would become non-taxable.</field>
</record>
<record id="hr_salary_rule_telephone" model="hr.salary.rule">
@ -211,10 +190,7 @@ In such case, the component would become non-taxable.</field>
<field name="amount_select">fix</field>
<field name="amount_fix">1500</field>
<field name="sequence" eval="38"/>
<field name="note">
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.
<field name="note">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
</field>
</record>
@ -235,10 +211,7 @@ Read more: http://www.pankajbatra.com/finance/income-tax-calculator-2012-2013-20
<field name="amount_select">fix</field>
<field name="amount_fix">1800</field>
<field name="sequence" eval="39"/>
<field name="note">
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.
<field name="note">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</field>
</record>
@ -271,8 +244,7 @@ Read more: http://www.pankajbatra.com/finance/income-tax-calculator-2012-2013-20
<field name="amount_select">fix</field>
<field eval="0.0" name="amount_fix"/>
<field name="sequence" eval="42"/>
<field name="note">
gift gift is from non relatives person worth more than Rs.50000,
<field name="note">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.</field>
</record>
@ -294,7 +266,7 @@ one is liable to pay the tax what ever he received excess of the limit or Rs 50,
<field name="amount_python_compute">result = contract.house_rent_income</field>
<field name="condition_select">none</field>
<field name="sequence" eval="44"/>
<field name="note">Income from house property.30% of the rental income can be reduced as a standard deduction</field>
<field name="note">Income from house property.30% of the rental income can be reduced as a standard deduction.</field>
</record>
<record id="hr_salary_rule_saving_bank" model="hr.salary.rule">
@ -309,7 +281,7 @@ one is liable to pay the tax what ever he received excess of the limit or Rs 50,
</record>
<record id="hr_salary_trans_allownce" model="hr.salary.rule">
<field name="code">TA</field>
<field name="code">TCA</field>
<field name="name">Transport/Conveyance Allownace</field>
<field name="category_id" ref="hr_payroll.ALW"/>
<field name="amount_select">fix</field>
@ -347,9 +319,7 @@ one is liable to pay the tax what ever he received excess of the limit or Rs 50,
<field name="condition_select">python</field>
<field name="condition_python">result = bool(contract.short_term_gain)</field>
<field name="sequence" eval="46"/>
<field name="note">
If stocks/equity mutual funds are sold before one year,
15% tax would be payable on such gains. STT should have been on transaction.
<field name="note">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</field>
</record>
@ -362,11 +332,7 @@ Read more: http://www.pankajbatra.com/finance/income-tax-calculator-2012-2013-20
<field name="condition_select">python</field>
<field name="condition_python">result = bool(contract.long_term_gain)</field>
<field name="sequence" eval="47"/>
<field name="note">
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.
<field name="note">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</field>
</record>
@ -381,9 +347,7 @@ Read more: http://www.pankajbatra.com/finance/income-tax-calculator-2012-2013-20
<field name="amount_python_compute">result = -(contract.professional_tax)</field>
<field eval="120" name="sequence"/>
<field eval="False" name="appears_on_payslip"/>
<field name="note">
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.
<field name="note">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.
Read more: http://www.citehr.com/249518-companys-professional-tax-gujarat.html#ixzz1uuyvgt2L</field>
</record>
@ -396,12 +360,7 @@ Read more: http://www.citehr.com/249518-companys-professional-tax-gujarat.html#i
<field name="amount_select">code</field>
<field name="amount_python_compute">result = -(contract.tds)</field>
<field name="sequence" eval="140"/>
<field name="note">
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 employees 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.
<field name="note">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 employees 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</field>
</record>
@ -414,17 +373,7 @@ Read more: http://www.pankajbatra.com/finance/income-tax-calculator-2012-2013-20
<field name="amount_select">code</field>
<field name="amount_python_compute">result = -(contract.wage + DA) * contract.voluntarily_provident_fund / 100 </field>
<field name="sequence" eval="130"/>
<field name="note">
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/-
<field name="note">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/-
read more: more:http://www.dotcominfoway.com/blog/vpf-or-voluntary-provident-fund-special-benefits-for-employees</field>
</record>
@ -446,13 +395,7 @@ read more: more:http://www.dotcominfoway.com/blog/vpf-or-voluntary-provident-fun
<field name="amount_select">fix</field>
<field eval="0.0" name="amount_fix"/>
<field name="sequence" eval="160"/>
<field name="note">
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)
<field name="note">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)
read more: http://www.citehr.com/270132-labour-welfare-fund-deduction-salary.html</field>
</record>
@ -498,7 +441,7 @@ read more: http://www.citehr.com/270132-labour-welfare-fund-deduction-salary.htm
</record>
<record id="hr_payslip_rule_epc" model="hr.salary.rule">
<field name="code">EPC</field>
<field name="code">EPF</field>
<field name="name">Employer's PF Contribution</field>
<field name="category_id" ref="hr_payroll.DED"/>
<field name="amount_select">code</field>
@ -507,7 +450,7 @@ read more: http://www.citehr.com/270132-labour-welfare-fund-deduction-salary.htm
</record>
<record id="hr_payslip_rule_empPF" model="hr.salary.rule">
<field name="code">EPFC</field>
<field name="code">EPMF</field>
<field name="name">Employee's PF Contribution</field>
<field name="category_id" ref="hr_payroll.DED"/>
<field name="amount_select">code</field>

View File

@ -12,7 +12,7 @@
<data>
<xpath expr="/form/notebook/page[@name='information']/group[@name='right_column']/field[@name='struct_id']" position="after">
<field name="food_coupon_amount"/>
<field name="No_of_year"/>
<field name="number_of_year"/>
<group col="2" colspan="2" name="right_column">
<separator colspan="2" string="Allowance"/>
<field name="short_term_gain"/>
@ -35,6 +35,18 @@
</data>
</field>
</record>
<record id="hr_employee_form_inherit" model="ir.ui.view">
<field name="name">hr.employee.form.inherit</field>
<field name="model">hr.employee</field>
<field name="type">form</field>
<field name="inherit_id" ref="hr.view_employee_form"/>
<field name="arch" type="xml">
<data>
<xpath expr="//field[@name='job_id']" position="after">
<field name="join_date"/>
</xpath>
</data>
</field>
</record>
</data>
</openerp>

View File

@ -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

1 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
2 access_hr_salary_rule hr.salary.rule model_hr_salary_rule base.group_hr_user 1 1 1 1