Skip to content

Commit 5f7cad6

Browse files
authored
Merge pull request OCA#3558 from PyTech-SRL/18.0-copier
Update copier template
2 parents 74dd4e6 + 53a19fe commit 5f7cad6

6 files changed

Lines changed: 20 additions & 12 deletions

File tree

.copier-answers.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# Do NOT update manually; changes here will be overwritten by Copier
2-
_commit: v1.36
2+
_commit: v1.42
33
_src_path: git+https://github.com/OCA/oca-addons-repo-template
44
additional_ruff_rules: []
5-
ci: GitHub
65
convert_readme_fragments_to_markdown: true
76
enable_checklog_odoo: true
87
generate_requirements_txt: true
@@ -17,7 +16,8 @@ odoo_test_flavor: Both
1716
odoo_version: 18.0
1817
org_name: Odoo Community Association (OCA)
1918
org_slug: OCA
20-
rebel_module_groups: []
19+
rebel_module_groups:
20+
- web_responsive
2121
repo_description: web
2222
repo_name: web
2323
repo_slug: web

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
name: pre-commit
23

34
on:
@@ -16,8 +17,9 @@ jobs:
1617
- uses: actions/checkout@v4
1718
- uses: actions/setup-python@v5
1819
with:
19-
python-version: "3.11"
20+
python-version: "3.12"
2021
cache: 'pip'
22+
cache-dependency-path: '.pre-commit-config.yaml'
2123
- name: Get python version
2224
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
2325
- uses: actions/cache@v4

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,18 @@ jobs:
3636
matrix:
3737
include:
3838
- container: ghcr.io/oca/oca-ci/py3.10-odoo18.0:latest
39-
exclude: "web_responsive"
39+
include: "web_responsive"
4040
name: test with Odoo
4141
- container: ghcr.io/oca/oca-ci/py3.10-ocb18.0:latest
42-
exclude: "web_responsive"
42+
include: "web_responsive"
4343
name: test with OCB
4444
makepot: "true"
4545
- container: ghcr.io/oca/oca-ci/py3.10-odoo18.0:latest
46-
include: "web_responsive"
47-
name: test with Odoo (rebel modules)
46+
exclude: "web_responsive"
47+
name: test with Odoo
4848
- container: ghcr.io/oca/oca-ci/py3.10-ocb18.0:latest
49-
include: "web_responsive"
50-
name: test with OCB (rebel modules)
49+
exclude: "web_responsive"
50+
name: test with OCB
5151
makepot: "true"
5252
services:
5353
postgres:

.pre-commit-config.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ exclude: |
2121
# You don't usually want a bot to modify your legal texts
2222
(LICENSE.*|COPYING.*)
2323
default_language_version:
24-
python: python3
24+
python: python3.12
2525
node: "22.9.0"
2626
repos:
2727
- repo: local
@@ -38,6 +38,11 @@ repos:
3838
entry: found a en.po file
3939
language: fail
4040
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
41+
- id: obsolete dotfiles
42+
name: obsolete dotfiles
43+
entry: found obsolete files; remove them
44+
files: '^(\.travis\.yml|\.t2d\.yml|CONTRIBUTING\.md|\.prettierrc\.yml|\.eslintrc\.yml)$'
45+
language: fail
4146
- repo: https://github.com/sbidoul/whool
4247
rev: v1.3
4348
hooks:

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
[![Support the OCA](https://odoo-community.org/readme-banner-image)](https://odoo-community.org/get-involved?utm_source=repo-readme)
23

34
# web

checklog-odoo.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
ignore=
33
WARNING.* 0 failed, 0 error\(s\).*
44
WARNING .* Killing chrome descendants-or-self .*
5-
Missing widget: res_partner_many2one for field of type many2one
5+
WARNING.* Missing widget: res_partner_many2one for field of type many2one.*

0 commit comments

Comments
 (0)