From 40e236688ce3b540a6772ae158c991a4724dc014 Mon Sep 17 00:00:00 2001 From: Maksym Yankin Date: Mon, 25 May 2026 11:40:04 +0300 Subject: [PATCH] [18.0][FIX] edi_product_oca: keep endpoint dependency 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 --- edi_product_oca/__manifest__.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/edi_product_oca/__manifest__.py b/edi_product_oca/__manifest__.py index 50fbc6291..71790ae28 100644 --- a/edi_product_oca/__manifest__.py +++ b/edi_product_oca/__manifest__.py @@ -11,7 +11,14 @@ "author": "ForgeFlow, Odoo Community Association (OCA)", "website": "https://github.com/OCA/edi-framework", "depends": [ + # Odoo/core "product", + # OCA/edi-framework + # TODO: Replace this dependency with ``edi_core_oca`` in version 19.0 + # For version 18.0 without ``edi_endpoint_oca``, CI fails + # because ``origin_edi_endpoint_id`` is set up on product models + # while its related target ``edi.exchange.record.edi_endpoint_id`` is absent. + # A glue module similar to ``edi_sale_endpoint`` does not currently solve it. "edi_endpoint_oca", ], "data": [