fixed patch
This commit is contained in:
parent
687d4b1834
commit
332d56db38
@ -306,7 +306,7 @@ def execute(patch_no):
|
|||||||
reload_doc('hr', 'doctype', 'salary_slip')
|
reload_doc('hr', 'doctype', 'salary_slip')
|
||||||
delete_doc('DocType', 'Salary Control Panel')
|
delete_doc('DocType', 'Salary Control Panel')
|
||||||
elif patch_no == 356:
|
elif patch_no == 356:
|
||||||
reload_doc('doctype', 'core', 'doctype')
|
reload_doc('core', 'doctype', 'doctype')
|
||||||
sql("update `tabDocType` set default_print_format = 'Standard' where name = 'Delivery Note'")
|
sql("update `tabDocType` set default_print_format = 'Standard' where name = 'Delivery Note'")
|
||||||
elif patch_no == 357:
|
elif patch_no == 357:
|
||||||
sql("delete from `tabDocField` where (fieldname in ('client_string', 'server_code_error', 'server_code_compiled', 'server_code', 'server_code_core', 'client_script', 'client_script_core', 'dt_template', change_log) or label = 'Template') and parent = 'DocType'")
|
sql("delete from `tabDocField` where (fieldname in ('client_string', 'server_code_error', 'server_code_compiled', 'server_code', 'server_code_core', 'client_script', 'client_script_core', 'dt_template', change_log) or label = 'Template') and parent = 'DocType'")
|
||||||
|
Loading…
Reference in New Issue
Block a user