Skip to content

[16.0] [ADD] cross_connect_client#735

Merged
OCA-git-bot merged 8 commits intoOCA:16.0from
akretion:16.0-add-cross_connect_client
Jun 3, 2025
Merged

[16.0] [ADD] cross_connect_client#735
OCA-git-bot merged 8 commits intoOCA:16.0from
akretion:16.0-add-cross_connect_client

Conversation

@paradoxxxzero
Copy link
Copy Markdown
Contributor

@paradoxxxzero paradoxxxzero commented Dec 12, 2024

This module allows an odoo instance users to connect directly on another odoo instance
where the module cross_connect_server (#734) is installed.

@paradoxxxzero paradoxxxzero force-pushed the 16.0-add-cross_connect_client branch 4 times, most recently from c3e5a28 to 4fa1a2c Compare December 12, 2024 17:03
@paradoxxxzero paradoxxxzero marked this pull request as ready for review December 13, 2024 15:31
@paradoxxxzero paradoxxxzero force-pushed the 16.0-add-cross_connect_client branch from 4fa1a2c to c833e56 Compare March 13, 2025 15:11
Copy link
Copy Markdown
Contributor

@florian-dacosta florian-dacosta left a comment

Choose a reason for hiding this comment

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

LGTM test + code review.
I'd added some not blocking remarks, but is good enough to be merged already IMO.

Comment thread cross_connect_client/models/cross_connect_server.py Outdated
Comment thread cross_connect_client/models/cross_connect_server.py Outdated

@property
def _server_env_fields(self):
return {"api_key": {}}
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.

I think we should override the unlink method to delete the groups and menu before deleting the cross connect server.
(Even without changing the action_disable method, I guess the cross.connect.server could be deleted while enabled)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Can’t we cascade these?

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.

Better indeed.

Comment thread cross_connect_client/models/cross_connect_server.py Outdated
florian-dacosta and others added 3 commits April 3, 2025 12:08
We want to avoid deletion of the group because we would then loose all users configured on it. So we prefer to remove the link between the cross connect server and the group instead
…-ref

[REF] avoid groupe deletion + simplify name management
Copy link
Copy Markdown
Member

@sebastienbeau sebastienbeau left a comment

Choose a reason for hiding this comment

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

LGTM (code review)

@sebastienbeau
Copy link
Copy Markdown
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Copy Markdown
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 16.0-ocabot-merge-pr-735-by-sebastienbeau-bump-nobump, awaiting test results.

@OCA-git-bot
Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at 75e8eb2. Thanks a lot for contributing to OCA. ❤️

@OCA-git-bot OCA-git-bot merged commit 56a424c into OCA:16.0 Jun 3, 2025
8 of 9 checks passed
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.

4 participants