Skip to content

18.0 mig base external system http l - #5

Open
lfreeke wants to merge 28 commits into
18.0from
18.0-mig-base_external_system_http_l
Open

lfreeke wants to merge 28 commits into
18.0from
18.0-mig-base_external_system_http_l

Conversation

@lfreeke

@lfreeke lfreeke commented Oct 20, 2026

Copy link
Copy Markdown

No description provided.

@lfreeke

lfreeke commented Oct 21, 2026

Copy link
Copy Markdown
Author

@NL66278
I took the module from this merge request https://github.com/Therp/server-backend/tree/16.0-add-base_external_system_ms_client_assertion

I think this is the best because this is the branch with the abstract model, which is also the plan to introduce in Odoo 18 as I understand it all correctly.
I did cherry pick 2 commits f41c5a9 22223fe that should fix some small issues.

@NL66278 NL66278 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

👍 LGTM

@NL66278

NL66278 commented Nov 6, 2026

Copy link
Copy Markdown

The tests tries to go to an OCA github page. However in current Odoo testing external http requests are blocked. Therefore the request.get method should be mocked, so it does not go outside.

imanie383 and others added 15 commits December 1, 2026 21:56
`_get_self_writable_groups()` is subtracted from the user's own groups so
the synchronisation never takes those groups away, but it is not subtracted
from the groups contributed by the roles. A role implying one of them hands
it back on every `res.users.write()`, silently overriding the user's choice.

This is visible with `mail.group_mail_notification_type_inbox`, since
`notification_type` is stored and computed from that group: a user whose
role implies it cannot switch to "Handle by Emails" at all. Picking it
removes the group, `set_groups_from_roles` adds it back within the same
write, and the compute returns the user to `inbox`. Removing the group by
hand only lasts until that user's next write, or until "Update users" is
pressed on the role.

Subtract the self-writable groups from the roles' groups as well, so a role
neither grants nor removes them and the choice stays with the user.
…r backend ui users since they can write messages
Currently translated at 100.0% (62 of 62 strings)

Translation: server-backend-18.0/server-backend-18.0-base_ical
Translate-URL: https://translation.odoo-community.org/projects/server-backend-18-0/server-backend-18-0-base_ical/it/
…ana using Alchemy

TT38753

[UPD] Update base_external_dbsource_sap_hana.pot

[UPD] README.rst
Translated using Weblate (Spanish)

Currently translated at 100.0% (1 of 1 strings)

Translation: server-backend-15.0/server-backend-15.0-base_external_dbsource_sap_hana
Translate-URL: https://translation.odoo-community.org/projects/server-backend-15-0/server-backend-15-0-base_external_dbsource_sap_hana/es/
Translated using Weblate (Galician)

Currently translated at 100.0% (1 of 1 strings)

Translation: server-backend-15.0/server-backend-15.0-base_external_dbsource_sap_hana
Translate-URL: https://translation.odoo-community.org/projects/server-backend-15-0/server-backend-15-0-base_external_dbsource_sap_hana/gl/
Currently translated at 100.0% (4 of 4 strings)

Translation: server-backend-18.0/server-backend-18.0-base_external_dbsource_sap_hana
Translate-URL: https://translation.odoo-community.org/projects/server-backend-18-0/server-backend-18-0-base_external_dbsource_sap_hana/it/
…elds, in user tree view.

Rational: If user has a lot of roles, the display will be ugly. So we use optional='hide', to have the possibility to show the roles, if required

(cherry picked from commit 57741ea)
@NL66278

NL66278 commented Dec 3, 2026

Copy link
Copy Markdown

There is still the problem with testing with the help of external hosts. Apparently this is no longer allowed ("Verboten"). The solution would be to mock the requests library. @lfreeke would you like me to look into this, or might Nikos have time to do this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.