Added Company in HR Module

This commit is contained in:
Ravi Dey
2011-06-27 11:26:39 +05:30
parent fe3b600315
commit 74c9c4d476
12 changed files with 1685 additions and 805 deletions

View File

@@ -1,6 +1,6 @@
# REMEMBER to update this
# ========================
last_patch = 296
last_patch = 297
#-------------------------------------------
@@ -1179,3 +1179,10 @@ def execute(patch_no):
elif patch_no == 296:
sql("delete from tabDocField where parent='Support Ticket' and fieldname='contact_no'")
reload_doc('maintenance', 'doctype', 'support_ticket')
elif patch_no == 297:
reload_doc('payroll', 'doctype', 'employee')
reload_doc('payroll', 'doctype', 'attendance')
reload_doc('payroll', 'doctype', 'expense_voucher')
reload_doc('payroll', 'doctype', 'appraisal')
reload_doc('payroll', 'doctype', 'salary_structure')
reload_doc('payroll', 'doctype', 'salary_slip')