From 712606af37fd6bd47e7947d65089b92bb08b4ab0 Mon Sep 17 00:00:00 2001 From: Simone Rubino Date: Mon, 25 May 2026 11:39:26 +0200 Subject: [PATCH 1/2] Updated from template --- .copier-answers.yml | 3 +-- .github/workflows/pre-commit.yml | 4 +++- .pre-commit-config.yaml | 7 ++++++- README.md | 1 + checklog-odoo.cfg | 2 +- 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index 2053f2ee6670..fb0e4fe0bde2 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,8 +1,7 @@ # Do NOT update manually; changes here will be overwritten by Copier -_commit: v1.36 +_commit: v1.42 _src_path: git+https://github.com/OCA/oca-addons-repo-template additional_ruff_rules: [] -ci: GitHub convert_readme_fragments_to_markdown: true enable_checklog_odoo: true generate_requirements_txt: true diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 852a07469b2e..72aac6e1e373 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -1,3 +1,4 @@ + name: pre-commit on: @@ -16,8 +17,9 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.12" cache: 'pip' + cache-dependency-path: '.pre-commit-config.yaml' - name: Get python version run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV - uses: actions/cache@v4 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3054c9f3f23e..749a12fee67f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,7 +21,7 @@ exclude: | # You don't usually want a bot to modify your legal texts (LICENSE.*|COPYING.*) default_language_version: - python: python3 + python: python3.12 node: "22.9.0" repos: - repo: local @@ -38,6 +38,11 @@ repos: entry: found a en.po file language: fail files: '[a-zA-Z0-9_]*/i18n/en\.po$' + - id: obsolete dotfiles + name: obsolete dotfiles + entry: found obsolete files; remove them + files: '^(\.travis\.yml|\.t2d\.yml|CONTRIBUTING\.md|\.prettierrc\.yml|\.eslintrc\.yml)$' + language: fail - repo: https://github.com/sbidoul/whool rev: v1.3 hooks: diff --git a/README.md b/README.md index 1641bc6c13d9..6fa332325c9c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ + [![Support the OCA](https://odoo-community.org/readme-banner-image)](https://odoo-community.org/get-involved?utm_source=repo-readme) # web diff --git a/checklog-odoo.cfg b/checklog-odoo.cfg index ae8394eb9f1e..58d43aa6662b 100644 --- a/checklog-odoo.cfg +++ b/checklog-odoo.cfg @@ -2,4 +2,4 @@ ignore= WARNING.* 0 failed, 0 error\(s\).* WARNING .* Killing chrome descendants-or-self .* - Missing widget: res_partner_many2one for field of type many2one + WARNING.* Missing widget: res_partner_many2one for field of type many2one.* From 53a19fee74a8f83726ca14cd98dc6b74fc26bd93 Mon Sep 17 00:00:00 2001 From: Simone Rubino Date: Mon, 25 May 2026 11:46:49 +0200 Subject: [PATCH 2/2] Copier configuration for rebel modules --- .copier-answers.yml | 3 ++- .github/workflows/test.yml | 12 ++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index fb0e4fe0bde2..80cdbc8a5c2a 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -16,7 +16,8 @@ odoo_test_flavor: Both odoo_version: 18.0 org_name: Odoo Community Association (OCA) org_slug: OCA -rebel_module_groups: [] +rebel_module_groups: +- web_responsive repo_description: web repo_name: web repo_slug: web diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5df33daee45e..6ccdbc5f9922 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,18 +36,18 @@ jobs: matrix: include: - container: ghcr.io/oca/oca-ci/py3.10-odoo18.0:latest - exclude: "web_responsive" + include: "web_responsive" name: test with Odoo - container: ghcr.io/oca/oca-ci/py3.10-ocb18.0:latest - exclude: "web_responsive" + include: "web_responsive" name: test with OCB makepot: "true" - container: ghcr.io/oca/oca-ci/py3.10-odoo18.0:latest - include: "web_responsive" - name: test with Odoo (rebel modules) + exclude: "web_responsive" + name: test with Odoo - container: ghcr.io/oca/oca-ci/py3.10-ocb18.0:latest - include: "web_responsive" - name: test with OCB (rebel modules) + exclude: "web_responsive" + name: test with OCB makepot: "true" services: postgres: