fix: Update Installed Applications on remove_app
Removing an app from a site should sync the Installed Applications doctype
This commit is contained in:
parent
1e33f38353
commit
2e28ee5b25
1 changed files with 1 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue