updated status based on docstatus
diff --git a/patches/patch.py b/patches/patch.py
index e2981d6..5d7620f 100644
--- a/patches/patch.py
+++ b/patches/patch.py
@@ -1127,6 +1127,5 @@
elif patch_no == 281:
dt_list = ['Delivery Note', 'Purchase Receipt']
for dt in dt_list:
- webnotes.msgprint("update `tab%s` set status = 'Submitted' where docstatus = 1 and modified >='2011-06-15 01:00:00'" % dt)
sql("update `tab%s` set status = 'Submitted' where docstatus = 1 and modified >='2011-06-15 01:00:00'" % dt)
sql("update `tab%s` set status = 'Cancelled' where docstatus = 2 and modified >='2011-06-15 01:00:00'" % dt)