fix: Allow disabled links in issue doctype (#19265)

* fix: Allow disabled links in issue doctype

* fix: Remove unwanted attribute
This commit is contained in:
Deepesh Garg 2019-10-11 11:04:48 +05:30 committed by Nabin Hait
parent 285344eb0e
commit 29a5756f87

View File

@ -22,6 +22,7 @@ class Issue(Document):
return "{0}: {1}".format(_(self.status), self.subject)
def validate(self):
self.flags.ignore_disabled = 1
if self.is_new() and self.via_customer_portal:
self.flags.create_communication = True