Skip to content

[18.0][FIX] edi_product_oca: fix wrong dep on edi_endpoint_oca#290

Open
yankinmax wants to merge 1 commit into
OCA:18.0from
camptocamp:imp-edi_product_oca-chg-dep
Open

[18.0][FIX] edi_product_oca: fix wrong dep on edi_endpoint_oca#290
yankinmax wants to merge 1 commit into
OCA:18.0from
camptocamp:imp-edi_product_oca-chg-dep

Conversation

@yankinmax

@yankinmax yankinmax commented May 25, 2026

Copy link
Copy Markdown
Contributor

@yankinmax yankinmax changed the title [IMP] edi_product_oca: depend on edi_core_oca after edi_core revamp [18.0][IMP] edi_product_oca: depend on edi_core_oca after edi_core revamp May 25, 2026
@simahawk

Copy link
Copy Markdown
Contributor

the reason is not "edi core revamp". The dependency on endpoint module is wrong by itself and I don't know why it has been added 😉

@simahawk simahawk changed the title [18.0][IMP] edi_product_oca: depend on edi_core_oca after edi_core revamp [18.0][FIX] edi_product_oca: fix wrong dep on edi_endpoint_oca May 25, 2026
@yankinmax

Copy link
Copy Markdown
Contributor Author

@simahawk good to know, thanks

@simahawk

Copy link
Copy Markdown
Contributor

I'm checking the test issue

@simahawk

Copy link
Copy Markdown
Contributor

@yankinmax I've not managed to fix this yet. Do me a favor: live it like it is today w/ the dependency but add a TODO and report there the motivation. A simple glue module for edi_product + endpoint does not work as it does for edi_sale_endpoint so... let's not waste too much time on something that is like that since ages.
Then apply the same comment on v19 and we are done.
Thanks!

@yankinmax yankinmax force-pushed the imp-edi_product_oca-chg-dep branch from 79f4350 to c436cba Compare June 3, 2026 07:38
@yankinmax

Copy link
Copy Markdown
Contributor Author

@simahawk done!

@simahawk

simahawk commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

@yankinmax pls rewrite the commit msg

The direct dependency on edi_endpoint_oca is not conceptually correct:
edi_product_oca should only need edi_core_oca.

However, removing edi_endpoint_oca on 18.0 currently breaks CI because
origin_edi_endpoint_id can be set up on product models while its related
target edi.exchange.record.edi_endpoint_id is missing.

Keep the dependency for now and add a TODO comment to remove it in version 19.0
@yankinmax yankinmax force-pushed the imp-edi_product_oca-chg-dep branch from c436cba to 40e2366 Compare June 3, 2026 11:11
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