[FYI] How to turn off Update Nag Screens in both v10 and v11

There are two pop-ups related to update in Frappe

  1. “Updated To A New Version” popup which shows new features and fixes after an update
  2. “New Updates are available” pop up which shows possible updates for installed apps in your site

Both can be disabled in an upgrade safe manner by injecting the custom code below into a JS file which should be referenced in app_include_js of your custom app’s hooks.py

// Disables "Updated To A New Version" pop-up
frappe.Application.prototype.show_change_log = function () { };

// Disables "New Updates are available" pop-up
frappe.Application.prototype.show_update_available = function () { };

It would be nice, if there was an option to disable these pop-ups in the System Settings of Frappe

CC: @Muzzy @surajkumar

1 Like