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"