This website works better with JavaScript.
Home
Explore
Help
Sign In
anoopmb
/
frappe
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Don't validate links on cancellation (
#4218
)
version-14
Nabin Hait
7 years ago
committed by
GitHub
parent
8682f87594
commit
f6b080ba71
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
frappe/model/document.py
+ 1
- 1
frappe/model/document.py
View File
@@ -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()
Write
Preview
Loading…
Cancel
Save