浏览代码

Merge branch 'master' of github.com:webnotes/wnframework

version-14
Anand Doshi 14 年前
父节点
当前提交
531a9fe0e3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      cgi-bin/webnotes/model/doclist.py

+ 1
- 1
cgi-bin/webnotes/model/doclist.py 查看文件

@@ -161,7 +161,7 @@ class DocList:
webnotes.msgprint('%s "%s" already exists' % (self.doc.doctype, self.doc.name))
# prompt if cancelled
if webnotes.conn.get_value(doc.doctype, doc.name, 'docstatus')==2:
if webnotes.conn.get_value(self.doc.doctype, self.doc.name, 'docstatus')==2:
webnotes.msgprint('[%s "%s" has been cancelled]' % (self.doc.doctype, self.doc.name))
webnotes.errprint(webnotes.utils.getTraceback())
raise e


正在加载...
取消
保存