POS Invoice fix

This commit is contained in:
Anand Doshi 2012-03-20 12:11:38 +05:30
parent 3401086d66
commit 547ce9f9c8
2 changed files with 5 additions and 0 deletions

View File

View File

@ -0,0 +1,5 @@
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')