brotherton-erpnext/patches/january_2013/reload_print_format.py
2013-11-20 13:00:28 +05:30

19 lines
904 B
Python

# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
def execute():
from webnotes.modules.import_file import import_files
import_files([["selling", "Print Format", "Quotation Classic"],
["selling", "Print Format", "Quotation Modern"],
["selling", "Print Format", "Quotation Spartan"],
["selling", "Print Format", "Sales Order Classic"],
["selling", "Print Format", "Sales Order Modern"],
["selling", "Print Format", "Sales Order Spartan"]])
import_files([["stock", "Print Format", "Delivery Note Classic"],
["stock", "Print Format", "Delivery Note Modern"],
["stock", "Print Format", "Delivery Note Spartan"]])
import_files([["accounts", "Print Format", "Sales Invoice Classic"],
["accounts", "Print Format", "Sales Invoice Modern"],
["accounts", "Print Format", "Sales Invoice Spartan"]])