diff --git a/.copier-answers.yml b/.copier-answers.yml index 2e6dd179954..1db62b3fcb2 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Do NOT update manually; changes here will be overwritten by Copier -_commit: v1.21.1 +_commit: v1.24 _src_path: gh:oca/oca-addons-repo-template additional_ruff_rules: [] ci: GitHub @@ -16,7 +16,8 @@ odoo_test_flavor: Both odoo_version: 17.0 org_name: Odoo Community Association (OCA) org_slug: OCA -rebel_module_groups: [] +rebel_module_groups: +- purchase_blanket_order,purchase_order_qty_change_no_recompute repo_description: 'TODO: add repo description.' repo_name: purchase-workflow repo_slug: purchase-workflow diff --git a/.eslintrc.yml b/.eslintrc.yml index fed88d70d23..0b382039586 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -4,7 +4,7 @@ env: # See https://github.com/OCA/odoo-community.org/issues/37#issuecomment-470686449 parserOptions: - ecmaVersion: 2019 + ecmaVersion: 2022 overrides: - files: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 03c1acbbcf0..455f3986272 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-odoo17.0:latest + include: "purchase_blanket_order,purchase_order_qty_change_no_recompute" name: test with Odoo - container: ghcr.io/oca/oca-ci/py3.10-ocb17.0:latest + include: "purchase_blanket_order,purchase_order_qty_change_no_recompute" + name: test with OCB + makepot: "true" + - container: ghcr.io/oca/oca-ci/py3.10-odoo17.0:latest + exclude: "purchase_blanket_order,purchase_order_qty_change_no_recompute" + name: test with Odoo + - container: ghcr.io/oca/oca-ci/py3.10-ocb17.0:latest + exclude: "purchase_blanket_order,purchase_order_qty_change_no_recompute" 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: diff --git a/.gitignore b/.gitignore index 0090721f5d2..2b045db3995 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,15 @@ var/ *.egg *.eggs +# Debian packages +*.deb + +# Redhat packages +*.rpm + +# MacOS packages +*.dmg + # Installer logs pip-log.txt pip-delete-this-directory.txt diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7b5de181542..186068afaae 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -43,7 +43,7 @@ repos: hooks: - id: whool-init - repo: https://github.com/oca/maintainer-tools - rev: 9a170331575a265c092ee6b24b845ec508e8ef75 + rev: d5fab7ee87fceee858a3d01048c78a548974d935 hooks: # update the NOT INSTALLABLE ADDONS section above - id: oca-update-pre-commit-excluded-addons