From b91079676dd6290740e468ebdaf3de22527fa986 Mon Sep 17 00:00:00 2001 From: Pratik Vyas Date: Thu, 31 Jul 2014 14:31:58 +0530 Subject: [PATCH] [patch] remove reloading of removed print formats --- erpnext/patches/v4_0/reload_purchase_print_format.py | 10 ---------- erpnext/patches/v4_0/reload_sales_print_format.py | 12 ------------ 2 files changed, 22 deletions(-) delete mode 100644 erpnext/patches/v4_0/reload_purchase_print_format.py diff --git a/erpnext/patches/v4_0/reload_purchase_print_format.py b/erpnext/patches/v4_0/reload_purchase_print_format.py deleted file mode 100644 index d8f0433f2f..0000000000 --- a/erpnext/patches/v4_0/reload_purchase_print_format.py +++ /dev/null @@ -1,10 +0,0 @@ -# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors -# License: GNU General Public License v3. See license.txt - -from __future__ import unicode_literals -import frappe - -def execute(): - frappe.reload_doc('buying', 'Print Format', 'Purchase Order Classic') - frappe.reload_doc('buying', 'Print Format', 'Purchase Order Modern') - frappe.reload_doc('buying', 'Print Format', 'Purchase Order Spartan') \ No newline at end of file diff --git a/erpnext/patches/v4_0/reload_sales_print_format.py b/erpnext/patches/v4_0/reload_sales_print_format.py index a06e3cd3f7..99184e36ef 100644 --- a/erpnext/patches/v4_0/reload_sales_print_format.py +++ b/erpnext/patches/v4_0/reload_sales_print_format.py @@ -6,15 +6,3 @@ import frappe def execute(): frappe.reload_doc('accounts', 'Print Format', 'POS Invoice') - frappe.reload_doc('accounts', 'Print Format', 'Sales Invoice Classic') - frappe.reload_doc('accounts', 'Print Format', 'Sales Invoice Modern') - frappe.reload_doc('accounts', 'Print Format', 'Sales Invoice Spartan') - frappe.reload_doc('selling', 'Print Format', 'Quotation Classic') - frappe.reload_doc('selling', 'Print Format', 'Quotation Modern') - frappe.reload_doc('selling', 'Print Format', 'Quotation Spartan') - frappe.reload_doc('selling', 'Print Format', 'Sales Order Classic') - frappe.reload_doc('selling', 'Print Format', 'Sales Order Modern') - frappe.reload_doc('selling', 'Print Format', 'Sales Order Spartan') - frappe.reload_doc('stock', 'Print Format', 'Delivery Note Classic') - frappe.reload_doc('stock', 'Print Format', 'Delivery Note Modern') - frappe.reload_doc('stock', 'Print Format', 'Delivery Note Spartan') \ No newline at end of file