From 1891029eedeba81929f4509dbea58cece964d439 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Thu, 7 Apr 2022 22:38:49 +0530 Subject: [PATCH] fix: ignore mandatory for certificate doctype rename patch --- lms/patches/v0_0/move_certification_to_certificate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/patches/v0_0/move_certification_to_certificate.py b/lms/patches/v0_0/move_certification_to_certificate.py index ab8c10b5..6004a3cb 100644 --- a/lms/patches/v0_0/move_certification_to_certificate.py +++ b/lms/patches/v0_0/move_certification_to_certificate.py @@ -11,4 +11,4 @@ def execute(): "member": data.student, "issue_date": data.issue_date, "expiry_date": data.expiry_date - }).save(ignore_permissions=True) + }).save(ignore_permissions=True, ignore_mandatory=True)