This commit is contained in:
Ravi Dey 2011-06-28 19:43:23 +05:30
parent 4c65119c6e
commit d75aef0a5d

View File

@ -1201,7 +1201,4 @@ def execute(patch_no):
elif patch_no == 302:
sql("update `tabDocField` set no_copy = 1 where fieldname = 'naming_series'")
elif patch_no == 303:
for dt in sql("SELECT name FROM `tabJournal Voucher` where docstatus != 2 order by modified desc"):
obj = get_obj('Journal Voucher',dt[0])
obj.set_print_format_fields()
obj.doc.save()
pass