[patch] remove reloading of removed print formats

This commit is contained in:
Pratik Vyas 2014-07-31 14:31:58 +05:30
parent 1483e9d8d2
commit b91079676d
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(): def execute():
frappe.reload_doc('accounts', 'Print Format', 'POS Invoice') 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')