Browse Source

updated status based on docstatus

develop
nabinhait 14 years ago
parent
commit
2262f2a18f
  1. 1
      patches/patch.py

1
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)

Loading…
Cancel
Save