Skip to content

Commit de95152

Browse files
authored
Merge pull request #4850 from Tecnativa/19.0-copier
[19.0] Update copier template
2 parents 3a7accc + 3e40c2f commit de95152

7 files changed

Lines changed: 14 additions & 13 deletions

File tree

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Do NOT update manually; changes here will be overwritten by Copier
2-
_commit: v1.35
2+
_commit: v1.38
33
_src_path: git+https://github.com/OCA/oca-addons-repo-template
44
additional_ruff_rules: []
55
ci: GitHub

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
- uses: actions/setup-python@v5
1818
with:
1919
python-version: "3.11"
20+
cache: 'pip'
2021
- name: Get python version
2122
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
2223
- uses: actions/cache@v4

.github/workflows/test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@ jobs:
6565
run: oca_init_test_database
6666
- name: Run tests
6767
run: oca_run_tests
68+
- name: Upload screenshots from JS tests
69+
uses: actions/upload-artifact@v4
70+
if: ${{ failure() }}
71+
with:
72+
name: Screenshots of failed JS tests - ${{ matrix.name }}${{ join(matrix.include) }}
73+
path: /tmp/odoo_tests/${{ env.PGDATABASE }}
74+
if-no-files-found: ignore
6875
- uses: codecov/codecov-action@v4
6976
with:
7077
token: ${{ secrets.CODECOV_TOKEN }}

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ repos:
6060
- --convert-fragments-to-markdown
6161
- id: oca-gen-external-dependencies
6262
- repo: https://github.com/OCA/odoo-pre-commit-hooks
63-
rev: v0.1.6
63+
rev: v0.1.7
6464
hooks:
6565
- id: oca-checks-odoo-module
6666
- id: oca-checks-po

.pylintrc

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,20 +92,11 @@ enable=anomalous-backslash-in-string,
9292
no-write-in-compute,
9393
# messages that do not cause the lint step to fail
9494
consider-merging-classes-inherited,
95-
create-user-wo-reset-password,
96-
dangerous-filter-wo-user,
9795
deprecated-module,
98-
file-not-used,
9996
invalid-commit,
100-
missing-manifest-dependency,
101-
missing-newline-extrafiles,
10297
missing-readme,
103-
no-utf8-coding-comment,
10498
odoo-addons-relative-import,
105-
old-api7-method-defined,
10699
redefined-builtin,
107-
too-complex,
108-
unnecessary-utf8-coding-comment,
109100
manifest-external-assets
110101

111102

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11

2+
[![Support the OCA](https://odoo-community.org/readme-banner-image)](https://odoo-community.org/get-involved?utm_source=repo-readme)
3+
4+
# l10n-spain
25
[![Runboat](https://img.shields.io/badge/runboat-Try%20me-875A7B.png)](https://runboat.odoo-community.org/builds?repo=OCA/l10n-spain&target_branch=19.0)
36
[![Pre-commit Status](https://github.com/OCA/l10n-spain/actions/workflows/pre-commit.yml/badge.svg?branch=19.0)](https://github.com/OCA/l10n-spain/actions/workflows/pre-commit.yml?query=branch%3A19.0)
47
[![Build Status](https://github.com/OCA/l10n-spain/actions/workflows/test.yml/badge.svg?branch=19.0)](https://github.com/OCA/l10n-spain/actions/workflows/test.yml?query=branch%3A19.0)
@@ -7,8 +10,6 @@
710

811
<!-- /!\ do not modify above this line -->
912

10-
# l10n-spain
11-
1213
l10n-spain
1314

1415
<!-- /!\ do not modify below this line -->

checklog-odoo.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[checklog-odoo]
22
ignore=
33
WARNING.* 0 failed, 0 error\(s\).*
4+
WARNING.* Missing widget: res_partner_many2one for field of type many2one.*

0 commit comments

Comments
 (0)