brotherton-erpnext/erpnext/patches/mar_2012/pos_invoice_fix.py
2012-03-20 12:11:38 +05:30

6 lines
220 B
Python

def execute():
import webnotes
webnotes.conn.sql("DELETE FROM `tabDocFormat` WHERE format='POS Invoice'")
from webnotes.modules.modules_manager import reload_doc
reload_doc('accounts', 'Print Format', 'POS Invoice')