fix: Ignore links while saving auto repeat doc

This commit is contained in:
deepeshgarg007 2019-11-08 14:28:26 +05:30
parent 2dac4f8432
commit 49d3ac182c

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()