diff --git a/patches/january_2013/reload_print_format.py b/patches/january_2013/reload_print_format.py new file mode 100644 index 00000000000..f757dcf137d --- /dev/null +++ b/patches/january_2013/reload_print_format.py @@ -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"]]) \ No newline at end of file diff --git a/patches/patch_list.py b/patches/patch_list.py index 3b013e487ca..a2789ade73f 100644 --- a/patches/patch_list.py +++ b/patches/patch_list.py @@ -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", ] \ No newline at end of file