Skip to content

[19.0][MIG] edi_gs1_oca - #314

Open
acsonefho wants to merge 32 commits into
OCA:19.0from
acsone:mig-19-edi_gs1_oca
Open

[19.0][MIG] edi_gs1_oca#314
acsonefho wants to merge 32 commits into
OCA:19.0from
acsone:mig-19-edi_gs1_oca

Conversation

@acsonefho

@acsonefho acsonefho commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Based on work done here: OCA/edi#411

Probably a lot of improvements to do but the purpose of this PR is only the migration.

@acsonefho
acsonefho marked this pull request as draft June 29, 2026 11:41
@OCA-git-bot OCA-git-bot added the mod:edi_gs1_stock_oca Module edi_gs1_stock_oca label Jul 2, 2026
@acsonefho
acsonefho force-pushed the mig-19-edi_gs1_oca branch 3 times, most recently from 8125395 to 3abb728 Compare July 23, 2026 07:41
@OCA-git-bot OCA-git-bot removed the mod:edi_gs1_stock_oca Module edi_gs1_stock_oca label Jul 23, 2026
@acsonefho
acsonefho force-pushed the mig-19-edi_gs1_oca branch from 3abb728 to 1649ab5 Compare July 23, 2026 08:20
Migrate from the legacy component-based EDI framework to the new
edi_core_oca model-based architecture:

- Replace components (AbstractComponent / _usage / _find_component)
  with model-based handlers inheriting edi.oca.handler.* abstract models.
- Add edi.gs1.xml helper (XSD validate/parse), edi.gs1.input.mixin,
  edi.gs1.output.mixin and edi.gs1.handler.* (validate + process ack).
- Wire handlers on exchange types via input/output_validate_model_id and
  process_model_id; move schema_path to advanced_settings (gs1: section).
- Drop the edi.exchange.template.output record; render QWeb templates
  through the output mixin and purge nswrapper helpers (utils.py).
- Update post_init_hook to the new env-based signature.
- Point view inherit_id to edi_core_oca and fix module xmlids.
- Adapt tests: create partners instead of removed demo xmlids and set
  contact details (Odoo 19 QWeb t-out uses the element body as fallback
  when the value is falsy).
@acsonefho
acsonefho force-pushed the mig-19-edi_gs1_oca branch from 1649ab5 to 87e5e91 Compare July 23, 2026 08:27
@acsonefho
acsonefho marked this pull request as ready for review July 23, 2026 08:53
@acsonefho

Copy link
Copy Markdown
Contributor Author

@simahawk @etobella review is welcome 🙏
Thanks in advance 💪

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.

4 participants