mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-19 23:05:12 +00:00
patch: default print format for invoice is standard
This commit is contained in:
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 = ''")
|
||||
Reference in New Issue
Block a user