Merge pull request #7165 from KanchanChauhan/salary-component-type-in-new-signups

[Minor]Added type to Salary Components
This commit is contained in:
Nabin Hait 2016-12-09 11:50:43 +05:30 committed by GitHub
commit d249c76ce0

View File

@ -7,9 +7,10 @@ import frappe
def install(company): def install(company):
docs = [ docs = [
{'doctype': 'Salary Component', 'salary_component': 'Professional Tax', 'description': 'Professional Tax'}, {'doctype': 'Salary Component', 'salary_component': 'Professional Tax', 'description': 'Professional Tax', 'type': 'Deduction'},
{'doctype': 'Salary Component', 'salary_component': 'Provident Fund', 'description': 'Provident fund'}, {'doctype': 'Salary Component', 'salary_component': 'Provident Fund', 'description': 'Provident fund', 'type': 'Deduction'},
{'doctype': 'Salary Component', 'salary_component': 'House Rent Allowance', 'description': 'House Rent Allowance'} {'doctype': 'Salary Component', 'salary_component': 'House Rent Allowance', 'description': 'House Rent Allowance', 'type': 'Earning'},
{'doctype': 'Salary Component', 'salary_component': 'Basic', 'description': 'Basic', 'type': 'Earning'}
] ]
for d in docs: for d in docs: