Minor fix in status updater
This commit is contained in:
parent
4417529952
commit
cabf9c5bee
@ -68,9 +68,8 @@ class StatusUpdater(Document):
|
|||||||
if self.is_new():
|
if self.is_new():
|
||||||
return
|
return
|
||||||
|
|
||||||
_status = self.status
|
|
||||||
|
|
||||||
if self.doctype in status_map:
|
if self.doctype in status_map:
|
||||||
|
_status = self.status
|
||||||
sl = status_map[self.doctype][:]
|
sl = status_map[self.doctype][:]
|
||||||
sl.reverse()
|
sl.reverse()
|
||||||
for s in sl:
|
for s in sl:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user