Skip to content

Commit b44a30d

Browse files
[T-5944][ADD] Repository changes
1 parent e6ae8a9 commit b44a30d

14 files changed

Lines changed: 36 additions & 187 deletions

File tree

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ github_enable_stale_action: true
1313
github_enforce_dev_status_compatibility: true
1414
include_wkhtmltopdf: false
1515
odoo_test_flavor: Both
16-
odoo_version: 16.0
16+
odoo_version: 15.0
1717
org_name: Sygel, Odoo Community Association (OCA)
1818
org_slug: sygel-technology
1919
rebel_module_groups: []

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: pre-commit
33
on:
44
pull_request:
55
branches:
6-
- "16.0*"
6+
- "15.0*"
77
push:
88
branches:
9-
- "16.0"
10-
- "16.0-ocabot-*"
9+
- "15.0"
10+
- "15.0-ocabot-*"
1111

1212
jobs:
1313
pre-commit:

.github/workflows/test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: tests
33
on:
44
pull_request:
55
branches:
6-
- "16.0*"
6+
- "15.0*"
77
push:
88
branches:
9-
- "16.0"
10-
- "16.0-ocabot-*"
9+
- "15.0"
10+
- "15.0-ocabot-*"
1111

1212
jobs:
1313
unreleased-deps:
@@ -35,14 +35,14 @@ jobs:
3535
fail-fast: false
3636
matrix:
3737
include:
38-
- container: ghcr.io/oca/oca-ci/py3.10-odoo16.0:latest
38+
- container: ghcr.io/oca/oca-ci/py3.8-odoo15.0:latest
3939
name: test with Odoo
40-
- container: ghcr.io/oca/oca-ci/py3.10-ocb16.0:latest
40+
- container: ghcr.io/oca/oca-ci/py3.8-ocb15.0:latest
4141
name: test with OCB
4242
makepot: "false"
4343
services:
4444
postgres:
45-
image: postgres:12.0
45+
image: postgres:9.6
4646
env:
4747
POSTGRES_USER: odoo
4848
POSTGRES_PASSWORD: odoo

.pre-commit-config.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ exclude: |
2222
(LICENSE.*|COPYING.*)
2323
default_language_version:
2424
python: python3
25-
node: "16.17.0"
25+
node: "14.18.0"
2626
repos:
2727
- repo: local
2828
hooks:
@@ -52,7 +52,7 @@ repos:
5252
- id: oca-gen-addon-readme
5353
args:
5454
- --addons-dir=.
55-
- --branch=16.0
55+
- --branch=15.0
5656
- --org-name=sygel-technology
5757
- --repo-name=sy-account-analytic
5858
- --if-source-changed
@@ -65,26 +65,26 @@ repos:
6565
- id: oca-checks-odoo-module
6666
- id: oca-checks-po
6767
- repo: https://github.com/pre-commit/mirrors-prettier
68-
rev: v2.7.1
68+
rev: v2.4.1
6969
hooks:
7070
- id: prettier
7171
name: prettier (with plugin-xml)
7272
additional_dependencies:
73-
- "prettier@2.7.1"
74-
- "@prettier/plugin-xml@2.2.0"
73+
- "prettier@2.4.1"
74+
- "@prettier/plugin-xml@1.1.0"
7575
args:
7676
- --plugin=@prettier/plugin-xml
7777
files: \.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$
7878
- repo: https://github.com/pre-commit/mirrors-eslint
79-
rev: v8.24.0
79+
rev: v7.32.0
8080
hooks:
8181
- id: eslint
8282
verbose: true
8383
args:
8484
- --color
8585
- --fix
8686
- repo: https://github.com/pre-commit/pre-commit-hooks
87-
rev: v4.3.0
87+
rev: v4.0.1
8888
hooks:
8989
- id: trailing-whitespace
9090
# exclude autogenerated files
@@ -112,7 +112,7 @@ repos:
112112
args: [--fix, --exit-non-zero-on-fix]
113113
- id: ruff-format
114114
- repo: https://github.com/OCA/pylint-odoo
115-
rev: v8.0.19
115+
rev: 7.0.5
116116
hooks:
117117
- id: pylint_odoo
118118
name: pylint with optional checks

.pylintrc

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ load-plugins=pylint_odoo
55
score=n
66

77
[ODOOLINT]
8-
readme-template-url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
9-
manifest-required-authors=Sygel, Odoo Community Association (OCA)
10-
manifest-required-keys=license
11-
manifest-deprecated-keys=description,active
12-
license-allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
13-
valid-odoo-versions=16.0
8+
readme_template_url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
9+
manifest_required_authors=Sygel, Odoo Community Association (OCA)
10+
manifest_required_keys=license
11+
manifest_deprecated_keys=description,active
12+
license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
13+
valid_odoo_versions=15.0
1414

1515
[MESSAGES CONTROL]
1616
disable=all
@@ -98,7 +98,6 @@ enable=anomalous-backslash-in-string,
9898
xml-attribute-translatable,
9999
xml-deprecated-qweb-directive,
100100
xml-deprecated-tree-attribute,
101-
external-request-timeout,
102101
# messages that do not cause the lint step to fail
103102
consider-merging-classes-inherited,
104103
create-user-wo-reset-password,

.pylintrc-mandatory

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ load-plugins=pylint_odoo
44
score=n
55

66
[ODOOLINT]
7-
readme-template-url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
8-
manifest-required-authors=Sygel, Odoo Community Association (OCA)
9-
manifest-required-keys=license
10-
manifest-deprecated-keys=description,active
11-
license-allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
12-
valid-odoo-versions=16.0
7+
readme_template_url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
8+
manifest_required_authors=Sygel, Odoo Community Association (OCA)
9+
manifest_required_keys=license
10+
manifest_deprecated_keys=description,active
11+
license_allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
12+
valid_odoo_versions=15.0
1313

1414
[MESSAGES CONTROL]
1515
disable=all
@@ -89,8 +89,7 @@ enable=anomalous-backslash-in-string,
8989
website-manifest-key-not-valid-uri,
9090
xml-attribute-translatable,
9191
xml-deprecated-qweb-directive,
92-
xml-deprecated-tree-attribute,
93-
external-request-timeout
92+
xml-deprecated-tree-attribute
9493

9594
[REPORTS]
9695
msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}

.ruff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
target-version = "py310"
2+
target-version = "py38"
33
fix = true
44

55
[lint]

README.md

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

22
<!-- /!\ Non OCA Context : Set here the badge of your runbot / runboat instance. -->
3-
[![Pre-commit Status](https://github.com/sygel-technology/sy-account-analytic/actions/workflows/pre-commit.yml/badge.svg?branch=16.0)](https://github.com/sygel-technology/sy-account-analytic/actions/workflows/pre-commit.yml?query=branch%3A16.0)
4-
[![Build Status](https://github.com/sygel-technology/sy-account-analytic/actions/workflows/test.yml/badge.svg?branch=16.0)](https://github.com/sygel-technology/sy-account-analytic/actions/workflows/test.yml?query=branch%3A16.0)
5-
[![codecov](https://codecov.io/gh/sygel-technology/sy-account-analytic/branch/16.0/graph/badge.svg)](https://codecov.io/gh/sygel-technology/sy-account-analytic)
3+
[![Pre-commit Status](https://github.com/sygel-technology/sy-account-analytic/actions/workflows/pre-commit.yml/badge.svg?branch=15.0)](https://github.com/sygel-technology/sy-account-analytic/actions/workflows/pre-commit.yml?query=branch%3A15.0)
4+
[![Build Status](https://github.com/sygel-technology/sy-account-analytic/actions/workflows/test.yml/badge.svg?branch=15.0)](https://github.com/sygel-technology/sy-account-analytic/actions/workflows/test.yml?query=branch%3A15.0)
5+
[![codecov](https://codecov.io/gh/sygel-technology/sy-account-analytic/branch/15.0/graph/badge.svg)](https://codecov.io/gh/sygel-technology/sy-account-analytic)
66
<!-- /!\ Non OCA Context : Set here the badge of your translation instance. -->
77

88
<!-- /!\ do not modify above this line -->
@@ -17,11 +17,7 @@ Odoo Account Analytic Related Addons
1717

1818
[//]: # (addons)
1919

20-
Available addons
21-
----------------
22-
addon | version | maintainers | summary
23-
--- | --- | --- | ---
24-
[account_timesheet_time_type](account_timesheet_time_type/) | 16.0.1.0.0 | | Time type in analytic account lines views
20+
This part will be replaced when running the oca-gen-addons-table script from OCA/maintainer-tools.
2521

2622
[//]: # (end addons)
2723

account_timesheet_time_type/README.rst

Lines changed: 0 additions & 77 deletions
This file was deleted.

account_timesheet_time_type/__init__.py

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)