Skip to content

Commit

Permalink
[FIX] ci: move "stock_inventory_discrepancy" to rebel modules
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ivantodorovich committed Nov 7, 2024
1 parent 831d1ba commit e635cd0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -49,6 +58,9 @@ jobs:
POSTGRES_DB: odoo
ports:
- 5432:5432
env:
INCLUDE: "${{ matrix.include }}"
EXCLUDE: "${{ matrix.exclude }}"
steps:
- uses: actions/checkout@v3
with:
Expand Down

0 comments on commit e635cd0

Please sign in to comment.