Skip to content

[18.0][REF] edi_webservice_oca: split core and component - #351

Open
simahawk wants to merge 2 commits into
OCA:18.0from
camptocamp:18-split-webservice-component
Open

simahawk wants to merge 2 commits into
OCA:18.0from
camptocamp:18-split-webservice-component

Conversation

@simahawk

Copy link
Copy Markdown
Contributor

Split edi_webservice_oca into:

  • edi_webservice_core_oca: the webservice_backend_id link on edi.backend, with no dependency on component/edi_component_oca. It also provides edi.webservice.send, a plain send_model_id handler - the official replacement for the deprecated component-based one.
  • edi_webservice_component_oca: the deprecated component-based edi.webservice.send integration, kept for backward compatibility.

edi_webservice_oca becomes a thin umbrella depending on both, to preserve existing installations and modules depending on it. A post_load hook logs a deprecation warning pointing to the right module to depend on instead.

Existing xmlids (views, access rules) are preserved on upgrade via a pre_init_hook rename, verified with a real before/after install. Demo data is not: demo databases getting a duplicate is not a concern.

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @etobella,
some modules you are maintaining are being modified, check this out!

Split edi_webservice_oca into:
- edi_webservice_core_oca: the webservice_backend_id link on edi.backend,
  with no dependency on component/edi_component_oca. It also provides
  edi.webservice.send, a plain send_model_id handler - the official
  replacement for the deprecated component-based one.
- edi_webservice_component_oca: the deprecated component-based
  edi.webservice.send integration, kept for backward compatibility.

edi_webservice_oca becomes a thin umbrella depending on both, to preserve
existing installations and modules depending on it. A post_load hook logs
a deprecation warning pointing to the right module to depend on instead.

Existing xmlids (views, access rules) are preserved on upgrade via a
pre_init_hook rename, verified with a real before/after install. Demo
data is not: demo databases getting a duplicate is not a concern.
@simahawk
simahawk force-pushed the 18-split-webservice-component branch from a86ac14 to 67ae530 Compare September 24, 2026 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:edi_webservice_component_oca Module edi_webservice_component_oca mod:edi_webservice_core_oca Module edi_webservice_core_oca mod:edi_webservice_oca Module edi_webservice_oca series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants