Skip to content

[16.0][BKP] server_environment: module uninstallation - #280

Closed
yankinmax wants to merge 1 commit into
OCA:16.0from
camptocamp:16.0-server_environment_uninstall_helper
Closed

[16.0][BKP] server_environment: module uninstallation#280
yankinmax wants to merge 1 commit into
OCA:16.0from
camptocamp:16.0-server_environment_uninstall_helper

Conversation

@yankinmax

Copy link
Copy Markdown
Contributor

Add a helper to manage the restoring of the database columns when a module using server_environment is uninstalled or the dependency on server_environment is dropped.

Document how to use the helper in an uninstall script or in an upgrade script (if a new version of the addon drops the dependency).

Backport of:

@OCA-git-bot OCA-git-bot added mod:server_environment Module server_environment series:16.0 labels Aug 19, 2026
@yankinmax

Copy link
Copy Markdown
Contributor Author

Hello @simahawk , I've checked the script on the runbot (module can be uninstalled without issues), but I can't fix the pre-commit issue.

@ivantodorovich ivantodorovich left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pre-commit issue might be resolved with a copier update on the 16.0 branch (to be done in a separate PR)

@yankinmax

yankinmax commented Aug 19, 2026

Copy link
Copy Markdown
Contributor Author

The pre-commit issue might be resolved with a copier update on the 16.0 branch (to be done in a separate PR)

I suppose this can do a maintainer? Is it automated?
I see similar commit:

@yankinmax
yankinmax force-pushed the 16.0-server_environment_uninstall_helper branch from b4a6415 to 1815983 Compare August 19, 2026 13:55
@yankinmax

yankinmax commented Aug 19, 2026

Copy link
Copy Markdown
Contributor Author

I'm going to close this one, because have found @gurneyalex has already opened such PR (I didn't see at first). He is an original author!

@yankinmax yankinmax closed this Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants