brotherton-erpnext/erpnext/patches/4_0/reload_purchase_print_format.py

10 lines
412 B
Python
Raw Normal View History

# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
2014-02-14 10:17:51 +00:00
import frappe
def execute():
2014-02-14 10:17:51 +00:00
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')