소스 검색

Don't validate links on cancellation (#4218)

version-14
Nabin Hait 7 년 전
committed by GitHub
부모
커밋
f6b080ba71
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      frappe/model/document.py

+ 1
- 1
frappe/model/document.py 파일 보기

@@ -631,7 +631,7 @@ class Document(BaseDocument):
name=self.name))

def _validate_links(self):
if self.flags.ignore_links:
if self.flags.ignore_links or self._action == "cancel":
return

invalid_links, cancelled_links = self.get_invalid_links()


불러오는 중...
취소
저장