fix: Update Installed Applications on remove_app

Removing an app from a site should sync the Installed Applications
doctype
This commit is contained in:
Gavin D'souza 2021-11-15 12:10:50 +05:30
parent 1e33f38353
commit 2e28ee5b25

View file

@ -240,6 +240,7 @@ def remove_app(app_name, dry_run=False, yes=False, no_backup=False, force=False)
if not dry_run:
remove_from_installed_apps(app_name)
frappe.get_single('Installed Applications').update_versions()
frappe.db.commit()
click.secho(f"Uninstalled App {app_name} from Site {site}", fg="green")