From e635cd0741a0fbf351188987a8c174b5c3b8e499 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Todorovich?= Date: Thu, 7 Nov 2024 12:58:45 -0300 Subject: [PATCH] [FIX] ci: move "stock_inventory_discrepancy" to rebel modules This module is fully overwriting the `stock.quant._apply_inventory` method, causing incompatibilities with other modules. https://github.com/OCA/stock-logistics-warehouse/blob/60cbc061/stock_inventory_discrepancy/hooks.py#L13 --- .copier-answers.yml | 3 ++- .github/workflows/test.yml | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index 03509bdbdbb6..ab8cfe45afcb 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -16,7 +16,8 @@ odoo_test_flavor: Both odoo_version: 16.0 org_name: Odoo Community Association (OCA) org_slug: OCA -rebel_module_groups: [] +rebel_module_groups: +- stock_inventory_discrepancy repo_description: 'TODO: add repo description.' repo_name: stock-logistics-warehouse repo_slug: stock-logistics-warehouse diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3bf18e843c51..b2875ca10255 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,8 +36,17 @@ jobs: matrix: include: - container: ghcr.io/oca/oca-ci/py3.10-odoo16.0:latest + include: "stock_inventory_discrepancy" name: test with Odoo - container: ghcr.io/oca/oca-ci/py3.10-ocb16.0:latest + include: "stock_inventory_discrepancy" + name: test with OCB + makepot: "true" + - container: ghcr.io/oca/oca-ci/py3.10-odoo16.0:latest + exclude: "stock_inventory_discrepancy" + name: test with Odoo + - container: ghcr.io/oca/oca-ci/py3.10-ocb16.0:latest + exclude: "stock_inventory_discrepancy" name: test with OCB makepot: "true" services: @@ -49,6 +58,9 @@ jobs: POSTGRES_DB: odoo ports: - 5432:5432 + env: + INCLUDE: "${{ matrix.include }}" + EXCLUDE: "${{ matrix.exclude }}" steps: - uses: actions/checkout@v3 with: