From 514daba25444ef461f96fdf3abbe510e89af4bc4 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Mon, 22 Jul 2013 15:37:48 +0530 Subject: [PATCH] [minor] [patch] replace doc.net_total/doc.conversion_rate with doc.net_total_export in custom print formats --- patches/patch_list.py | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/patches/patch_list.py b/patches/patch_list.py index d484f16d0e..e8a03ff44a 100644 --- a/patches/patch_list.py +++ b/patches/patch_list.py @@ -163,9 +163,6 @@ patch_list = [ "patches.february_2013.p05_leave_application", "patches.february_2013.gle_floating_point_issue_revisited", "patches.february_2013.fix_outstanding", - 'execute:webnotes.reload_doc("selling", "Print Format", "Quotation Classic") # 2013-02-19', - 'execute:webnotes.reload_doc("selling", "Print Format", "Quotation Modern") # 2013-02-19', - 'execute:webnotes.reload_doc("selling", "Print Format", "Quotation Spartan") # 2013-02-19', "execute:webnotes.delete_doc('DocType', 'Service Order')", "execute:webnotes.delete_doc('DocType', 'Service Quotation')", "execute:webnotes.delete_doc('DocType', 'Service Order Detail')", @@ -176,9 +173,6 @@ patch_list = [ "execute:webnotes.conn.sql(\"update `tabReport` set report_type=if(ifnull(query, '')='', 'Report Builder', 'Query Report') where is_standard='No'\")", "execute:webnotes.conn.sql(\"update `tabReport` set report_name=name where ifnull(report_name,'')='' and is_standard='No'\")", "patches.february_2013.p08_todo_query_report", - 'execute:webnotes.reload_doc("accounts", "Print Format", "Sales Invoice Classic") # 2013-02-26', - 'execute:webnotes.reload_doc("accounts", "Print Format", "Sales Invoice Modern") # 2013-02-26', - 'execute:webnotes.reload_doc("accounts", "Print Format", "Sales Invoice Spartan") # 2013-02-26', "execute:(not webnotes.conn.exists('Role', 'Projects Manager')) and webnotes.doc({'doctype':'Role', 'role_name':'Projects Manager'}).insert()", "patches.february_2013.p09_remove_cancelled_warehouses", "patches.march_2013.update_po_prevdoc_doctype", @@ -210,9 +204,6 @@ patch_list = [ "patches.april_2013.p01_update_serial_no_valuation_rate", "patches.april_2013.p02_add_country_and_currency", "patches.april_2013.p03_fixes_for_lead_in_quotation", - 'execute:webnotes.reload_doc("selling", "Print Format", "Quotation Classic") # 2013-04-02', - 'execute:webnotes.reload_doc("selling", "Print Format", "Quotation Modern") # 2013-04-02', - 'execute:webnotes.reload_doc("selling", "Print Format", "Quotation Spartan") # 2013-04-02', "patches.april_2013.p04_reverse_modules_list", "patches.april_2013.p04_update_role_in_pages", "patches.april_2013.p05_update_file_data", @@ -257,4 +248,17 @@ patch_list = [ "patches.july_2013.p05_custom_doctypes_in_list_view", "patches.july_2013.p06_same_sales_rate", "patches.july_2013.p07_repost_billed_amt_in_sales_cycle", + "execute:webnotes.reload_doc('accounts', 'Print Format', 'Sales Invoice Classic') # 2013-07-22", + "execute:webnotes.reload_doc('accounts', 'Print Format', 'Sales Invoice Modern') # 2013-07-22", + "execute:webnotes.reload_doc('accounts', 'Print Format', 'Sales Invoice Spartan') # 2013-07-22", + "execute:webnotes.reload_doc('selling', 'Print Format', 'Quotation Classic') # 2013-07-22", + "execute:webnotes.reload_doc('selling', 'Print Format', 'Quotation Modern') # 2013-07-22", + "execute:webnotes.reload_doc('selling', 'Print Format', 'Quotation Spartan') # 2013-07-22", + "execute:webnotes.reload_doc('selling', 'Print Format', 'Sales Order Classic') # 2013-07-22", + "execute:webnotes.reload_doc('selling', 'Print Format', 'Sales Order Modern') # 2013-07-22", + "execute:webnotes.reload_doc('selling', 'Print Format', 'Sales Order Spartan') # 2013-07-22", + "execute:webnotes.reload_doc('stock', 'Print Format', 'Delivery Note Classic') # 2013-07-22", + "execute:webnotes.reload_doc('stock', 'Print Format', 'Delivery Note Modern') # 2013-07-22", + "execute:webnotes.reload_doc('stock', 'Print Format', 'Delivery Note Spartan') # 2013-07-22", + "patches.july_2013.p08_custom_print_format_net_total_export", ] \ No newline at end of file