mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 21:19:19 +00:00
default_print_format field added
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# REMEMBER to update this
|
# REMEMBER to update this
|
||||||
# ========================
|
# ========================
|
||||||
|
|
||||||
last_patch = 352
|
last_patch = 353
|
||||||
|
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
|
|
||||||
@@ -290,3 +290,6 @@ def execute(patch_no):
|
|||||||
ch = addchild(dt_obj.doc, 'formats', 'DocFormat', 1)
|
ch = addchild(dt_obj.doc, 'formats', 'DocFormat', 1)
|
||||||
ch.format = 'Delivery Note Packing List Wise'
|
ch.format = 'Delivery Note Packing List Wise'
|
||||||
ch.save(1)
|
ch.save(1)
|
||||||
|
elif patch_no == 353:
|
||||||
|
reload_doc('doctype', 'core', 'doctype')
|
||||||
|
sql("update `tabDocType` set default_print_format = 'Standard'")
|
||||||
|
|||||||
Reference in New Issue
Block a user