mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-16 18:00:47 +02:00
[fix] update paid status
This commit is contained in:
@@ -7,4 +7,6 @@ import frappe
|
||||
from frappe.model.document import Document
|
||||
|
||||
class ConferenceParticipant(Document):
|
||||
pass
|
||||
def on_payment_authorized(self, status_changed_to=None):
|
||||
self.paid = 1
|
||||
self.save(ignore_permissions=True)
|
||||
|
||||
Reference in New Issue
Block a user