Skip to content

[4.27.1][FIX] core: support HEAD requests and virtualenv check#139

Merged
sea-odoo merged 1 commit intobetafrom
fix-saas-migration-support
Mar 31, 2026
Merged

[4.27.1][FIX] core: support HEAD requests and virtualenv check#139
sea-odoo merged 1 commit intobetafrom
fix-saas-migration-support

Conversation

@sea-odoo
Copy link
Copy Markdown
Contributor

@sea-odoo sea-odoo commented Mar 27, 2026

Summary

This Pull Request introduces two key improvements to the odev core and is targeted at the beta branch:

  • RESTConnector.head: A new method to perform HEAD requests, useful for checking resource availability or following redirects without downloading the body. This is specifically needed for handling SaaS dump redirects in the hosted plugin.
  • LocalDatabase virtualenv fix: Resolves a bug where some known databases would incorrectly return a default PythonEnv even if they were already registered in the store but lacked a virtualenv.

Core Linkage

  • Linked to odoo-ps/odev-plugin-hosted#13 (Add HEAD support for dump redirects)

- Add head method to RESTConnector
- Fix virtualenv check in LocalDatabase
@sea-odoo sea-odoo force-pushed the fix-saas-migration-support branch from 18b45e3 to 7925aa7 Compare March 27, 2026 20:03
@sea-odoo sea-odoo changed the base branch from main to beta March 27, 2026 20:04
@sea-odoo sea-odoo changed the title [FIX] core: support HEAD requests and virtualenv check [4.27.1][FIX] core: support HEAD requests and virtualenv check Mar 27, 2026
@sea-odoo sea-odoo requested a review from brinkflew March 27, 2026 20:08
@sea-odoo sea-odoo merged commit 3c6d9cc into beta Mar 31, 2026
5 of 6 checks passed
@sea-odoo sea-odoo deleted the fix-saas-migration-support branch March 31, 2026 06:45
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.

2 participants