fix: removed certification student to member rename patch

This commit is contained in:
Jannat Patel
2022-04-07 22:27:26 +05:30
parent 4f47a5032c
commit 0ddf2aad79
2 changed files with 1 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ def execute():
frappe.get_doc({
"doctype": "LMS Certificate",
"course": data.course,
"member": data.member or data.student,
"member": data.student,
"issue_date": data.issue_date,
"expiry_date": data.expiry_date
}).save(ignore_permissions=True)