mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
Merge pull request #48 from saurabh6790/leave_chapter_fix
[minor][fix] ignore permissions while updating a doc after payment completion
This commit is contained in:
@@ -20,7 +20,7 @@ class BountyBacker(Document):
|
||||
self.db_set('paid', 1)
|
||||
# to trigger form events of Bounty doctype
|
||||
doc = frappe.get_doc('Bounty', self.bounty_name)
|
||||
doc.save()
|
||||
doc.save(ignore_permissions=True)
|
||||
return '/' + doc.route
|
||||
return '/bounties'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user