commit | cabf9c5bee3b632e8bc62f30cb4555eeddaeed79 | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Thu Aug 21 16:34:38 2014 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Thu Aug 21 16:44:32 2014 +0530 |
tree | 34e248a303ea11e634a5e154a907d1f956dc1ad6 | |
parent | 4417529952976afc274f990f7107553742dc248d [diff] |
Minor fix in status updater
diff --git a/erpnext/controllers/status_updater.py b/erpnext/controllers/status_updater.py index 2e865b4..1188be5 100644 --- a/erpnext/controllers/status_updater.py +++ b/erpnext/controllers/status_updater.py
@@ -68,9 +68,8 @@ if self.is_new(): return - _status = self.status - if self.doctype in status_map: + _status = self.status sl = status_map[self.doctype][:] sl.reverse() for s in sl: