Merge pull request #2008 from pdvyas/print-format-patch-fix

[patch] remove reloading of removed print formats
This commit is contained in:
Anand Doshi 2014-07-31 14:53:45 +05:30
commit b4ad175b13
2 changed files with 0 additions and 22 deletions

View File

@ -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')

View File

@ -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')