reload print formats patch

This commit is contained in:
Nabin Hait 2013-01-25 17:38:48 +05:30
parent f89fb1e41a
commit e37b344e54
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,16 @@
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"]])

View File

@ -158,4 +158,5 @@ patch_list = [
"patches.january_2013.enable_currencies",
"patches.january_2013.remove_unwanted_permission",
"patches.january_2013.remove_landed_cost_master",
"patches.january_2013.reload_print_format",
]