6 lines
219 B
Python
Raw Normal View History

2012-03-20 12:11:38 +05:30
def execute():
import webnotes
webnotes.conn.sql("DELETE FROM `tabDocFormat` WHERE format='POS Invoice'")
2012-03-20 12:24:51 +05:30
from webnotes.modules.module_manager import reload_doc
2012-03-20 12:11:38 +05:30
reload_doc('accounts', 'Print Format', 'POS Invoice')