Skip to content

[19.0][MIG] webservice and webservice_server_env: Migration to v19#128

Merged
OCA-git-bot merged 37 commits intoOCA:19.0from
camptocamp:19.0-mig-webservice
Apr 20, 2026
Merged

[19.0][MIG] webservice and webservice_server_env: Migration to v19#128
OCA-git-bot merged 37 commits intoOCA:19.0from
camptocamp:19.0-mig-webservice

Conversation

@yankinmax
Copy link
Copy Markdown

@yankinmax yankinmax commented Apr 1, 2026

Standard migration.

Depends on:

  1. This PR is opened to speed up migration to 19.0.
  2. Fixed tests and squashed administrative commits.

cc @AaronHForgeFlow

@yankinmax yankinmax force-pushed the 19.0-mig-webservice branch 2 times, most recently from c063366 to 0cf2fcc Compare April 1, 2026 11:29
Comment thread webservice/__manifest__.py Outdated
@yankinmax yankinmax force-pushed the 19.0-mig-webservice branch from 9fc9341 to 5ccc866 Compare April 1, 2026 11:41
Copy link
Copy Markdown

@AaronHForgeFlow AaronHForgeFlow left a comment

Choose a reason for hiding this comment

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

Thanks

Copy link
Copy Markdown

@grindtildeath grindtildeath left a comment

Choose a reason for hiding this comment

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

IMO we shouldn't depend on web for tests, cf my comment

Comment thread setup/webservice_server_env/odoo/addons/webservice_server_env Outdated
etobella and others added 17 commits April 20, 2026 15:44
The funtionality is used by the module as the method
`_server_env_fields` is defined, but the inherit of the mixin
using it is missing.
'call' now accepts these explicit kw params:

* 'url': to override the request's url completely
* 'url_params': to pass interpolation params for url formatting.
Currently translated at 100.0% (44 of 44 strings)

Translation: web-api-16.0/web-api-16.0-webservice
Translate-URL: https://translation.odoo-community.org/projects/web-api-16-0/web-api-16-0-webservice/it/
when a call is made with just a path, combine it with the collection's url

better combination of urls (Co-authored-by: Simone Orsi <simahawk@users.noreply.github.com>):
Allow using oauth2 with Backend Application Flow / Client Credentials
Grant.
Currently translated at 100.0% (44 of 44 strings)

Translation: web-api-16.0/web-api-16.0-webservice
Translate-URL: https://translation.odoo-community.org/projects/web-api-16-0/web-api-16-0-webservice/it/
@yankinmax yankinmax force-pushed the 19.0-mig-webservice branch from 97e1ea9 to 578699f Compare April 20, 2026 12:45
@OCA-git-bot OCA-git-bot added mod:webservice Module webservice mod:webservice_server_env Module webservice_server_env series:19.0 labels Apr 20, 2026
@yankinmax
Copy link
Copy Markdown
Author

Hello @OCA/board can you pls take a look and possibly merge?

@thomaspaulb
Copy link
Copy Markdown

/ocabot migration webservice

/ocabot migration webservice_server_env

@OCA-git-bot
Copy link
Copy Markdown
Contributor

@thomaspaulb The migration issue commenter process could not start, because of exception 500 [No message].

@OCA-git-bot OCA-git-bot added this to the 19.0 milestone Apr 20, 2026
@OCA-git-bot OCA-git-bot mentioned this pull request Apr 20, 2026
8 tasks
@thomaspaulb
Copy link
Copy Markdown

/ocabot migration webservice_server_env

@thomaspaulb
Copy link
Copy Markdown

/ocabot merge nobump

@OCA-git-bot
Copy link
Copy Markdown
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 19.0-ocabot-merge-pr-128-by-thomaspaulb-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 54accb0 into OCA:19.0 Apr 20, 2026
7 checks passed
@OCA-git-bot
Copy link
Copy Markdown
Contributor

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

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.