diff --git a/erpnext/hooks.py b/erpnext/hooks.py index ddd82f29701..dd717dd7631 100644 --- a/erpnext/hooks.py +++ b/erpnext/hooks.py @@ -87,6 +87,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"