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

@@ -26,5 +26,4 @@ school.patches.v0_0.set_course_in_lesson #21-03-2022
school.patches.v0_0.set_status_in_course #21-03-2022
lms.patches.v0_0.change_published_field_data #25-03-2022
execute:frappe.delete_doc("Workspace", "School", ignore_missing=True, force=True)
lms.patches.v0_0.certification_member_field_data #04-04-2022
lms.patches.v0_0.move_certification_to_certificate

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)