[Minor]Added type to Salary Components
This commit is contained in:
parent
7b91181fa0
commit
13f19993c5
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user