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

6 lines
219 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'")
2012-03-20 06:54:51 +00:00
from webnotes.modules.module_manager import reload_doc
2012-03-20 06:41:38 +00:00
reload_doc('accounts', 'Print Format', 'POS Invoice')