Merge pull request #76 from nabinhait/master
patch
diff --git a/patches/patch.py b/patches/patch.py
index 9d6e731..e4b38d0 100644
--- a/patches/patch.py
+++ b/patches/patch.py
@@ -307,6 +307,6 @@
delete_doc('DocType', 'Salary Control Panel')
elif patch_no == 356:
reload_doc('doctype', 'core', 'doctype')
- sql("update `tabDocType` set default_print_format = 'Standard'")
+ sql("update `tabDocType` set default_print_format = 'Standard' where name = 'Delivery Note'")
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'")