From 2262f2a18f62d539392c149921316b705a5cb9b1 Mon Sep 17 00:00:00 2001 From: nabinhait Date: Wed, 15 Jun 2011 14:40:29 +0530 Subject: [PATCH] updated status based on docstatus --- patches/patch.py | 1 - 1 file changed, 1 deletion(-) diff --git a/patches/patch.py b/patches/patch.py index e2981d630d..5d7620fcb6 100644 --- a/patches/patch.py +++ b/patches/patch.py @@ -1127,6 +1127,5 @@ def execute(patch_no): 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)