Skip to content

Commit

Permalink
Merge PR #2595 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Apr 19, 2023
2 parents 8f78dd3 + 13ca7bc commit f2e37e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database_cleanup/models/purge_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def purge(self):
modules.filtered(
lambda x: x.state not in ("uninstallable", "uninstalled")
).button_immediate_uninstall()
modules.env.invalidate_all()
modules.invalidate_cache()
modules.unlink()
return self.write({"purged": True})

Expand Down

0 comments on commit f2e37e8

Please sign in to comment.