From d2042bc1bbf09b1d05702ea6af3f594af532d0b3 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 17 Sep 2026 17:10:48 +0000 Subject: [PATCH] feat: mark update_serial_batch_entries patch as never skippable (backport #59147) (#59148) feat: mark update_serial_batch_entries patch as never skippable (#59147) (cherry picked from commit aebb160e76b2232914ddb0b9d4addbd896a05b83) Co-authored-by: rohitwaghchaure --- erpnext/hooks.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/erpnext/hooks.py b/erpnext/hooks.py index e3d03caf638..719f7355a73 100644 --- a/erpnext/hooks.py +++ b/erpnext/hooks.py @@ -68,6 +68,9 @@ after_install = "erpnext.setup.install.after_install" after_app_install = "erpnext.setup.install.after_app_install" after_app_uninstall = "erpnext.setup.install.after_app_uninstall" +# patches that must stop the migration when they fail, even with `bench migrate --skip-failing` +never_skip_patches = ["erpnext.patches.v16_0.update_serial_batch_entries"] + boot_session = "erpnext.startup.boot.boot_session" notification_config = "erpnext.startup.notifications.get_notification_config" get_help_messages = "erpnext.utilities.activation.get_help_messages"