brotherton-erpnext/erpnext/patches/mar_2012/pos_invoice_fix.py

6 lines
220 B
Python
Raw Normal View History

2012-03-20 06:41:38 +00:00
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')