Merge pull request #8776 from deepeshgarg007/auto_repeat_patch_fix

fix: Ignore links while saving auto repeat doc
This commit is contained in:
mergify[bot] 2019-11-11 10:03:00 +00:00 committed by GitHub
commit f0f2f001c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,5 +21,6 @@ def execute():
if doc.status in ["Draft", "Stopped", "Cancelled"]:
doc.disabled = 1
doc.flags.ignore_links = 1
#updates current status as Active, Disabled or Completed on validate
doc.save()