Skip to content

Commit

Permalink
fix(Issue): create communication
Browse files Browse the repository at this point in the history
Ignore permisions and mandatory. Required, for example, when Issue is created by Customer via portal.

(cherry picked from commit 3f1d008)
  • Loading branch information
barredterra authored and mergify[bot] committed Feb 16, 2024
1 parent 51dc3f5 commit 8deaba8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erpnext/support/doctype/issue/issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ def create_communication(self):
"reference_name": self.name,
}
)
communication.ignore_permissions = True
communication.ignore_mandatory = True
communication.flags.ignore_permissions = True
communication.flags.ignore_mandatory = True
communication.save()

@frappe.whitelist()
Expand Down

0 comments on commit 8deaba8

Please sign in to comment.