Salary Slip docfield update

This commit is contained in:
Ravi Dey
2011-07-13 18:08:38 +05:30
parent 28ca9abcc7
commit 9dd0c0b7a1
2 changed files with 41 additions and 110 deletions

View File

@@ -1,7 +1,7 @@
# REMEMBER to update this
# ========================
last_patch = 324
last_patch = 325
#-------------------------------------------
@@ -1291,3 +1291,6 @@ def execute(patch_no):
sql("delete from `tabDocField` where label = 'Get Current Stock' and parent = 'Stock Entry'")
elif patch_no == 324:
sql("delete from `tabDocField` where fieldname = 'test_field' and parent = 'Customer'")
elif patch_no == 325:
sql("update `tabDocField` set fieldtype = 'Data' where parent = 'Salary Slip' and fieldname = 'total_days_in_month'")
reload_doc('hr', 'doctype', 'salary_slip')