patch: default print format for invoice is standard
This commit is contained in:
parent
13800440f1
commit
2eb5ae48f7
4
erpnext/patches/p1.py
Normal file
4
erpnext/patches/p1.py
Normal file
@ -0,0 +1,4 @@
|
||||
def execute():
|
||||
import webnotes
|
||||
if not webnotes.conn.sql("select name from tabDocFormat where parent = 'Receivable Voucher' and format != 'POS Invoice'"):
|
||||
webnotes.conn.sql("update tabDocType set default_print_format = 'Standard' where name = 'Receivable Voucher' and default_print_format = ''")
|
Loading…
x
Reference in New Issue
Block a user