diff --git a/.copier-answers.yml b/.copier-answers.yml index fa424fd..f2c79ae 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -13,7 +13,7 @@ github_enable_makepot: false github_enforce_dev_status_compatibility: true include_wkhtmltopdf: true odoo_test_flavor: Odoo -odoo_version: 17.0 +odoo_version: 16.0 org_name: IFE Gesellschaft für Forschung und Entwicklung org_slug: ifegmbh rebel_module_groups: [] diff --git a/.eslintrc.yml b/.eslintrc.yml index 0b38203..fed88d7 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: 2022 + ecmaVersion: 2019 overrides: - files: diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index f52dfa3..5d38a2f 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -3,10 +3,10 @@ name: pre-commit on: pull_request: branches: - - "17.0*" + - "16.0*" push: branches: - - "*-17.0-*" + - "*-16.0-*" jobs: pre-commit: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 37d94cf..f4ab3c3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,10 +3,10 @@ name: tests on: pull_request: branches: - - "17.0*" + - "16.0*" push: branches: - - "*-17.0-*" + - "*-16.0-*" jobs: unreleased-deps: @@ -34,7 +34,7 @@ jobs: fail-fast: false matrix: include: - - container: ghcr.io/oca/oca-ci/py3.10-odoo17.0:latest + - container: ghcr.io/oca/oca-ci/py3.10-odoo16.0:latest name: test with Odoo makepot: "false" services: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fc5ef9b..aa4561e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -54,7 +54,7 @@ repos: - id: oca-gen-addon-readme args: - --addon-dir=ass - - --branch=17.0 + - --branch=16.0 - --org-name=ifegmbh - --repo-name=ass - --if-source-changed @@ -114,7 +114,7 @@ repos: args: [--fix, --exit-non-zero-on-fix] - id: ruff-format - repo: https://github.com/OCA/pylint-odoo - rev: v9.0.4 + rev: v8.0.19 hooks: - id: pylint_odoo name: pylint with optional checks diff --git a/.pylintrc b/.pylintrc index 6292dce..b076260 100644 --- a/.pylintrc +++ b/.pylintrc @@ -10,7 +10,7 @@ manifest-required-authors=IFE Gesellschaft für Forschung und Entwicklung manifest-required-keys=license manifest-deprecated-keys=description,active license-allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3,OPL-1 -valid-odoo-versions=17.0 +valid-odoo-versions=16.0 [MESSAGES CONTROL] disable=all diff --git a/.pylintrc-mandatory b/.pylintrc-mandatory index 48a7e49..83ba26c 100644 --- a/.pylintrc-mandatory +++ b/.pylintrc-mandatory @@ -9,7 +9,7 @@ manifest-required-authors=IFE Gesellschaft für Forschung und Entwicklung manifest-required-keys=license manifest-deprecated-keys=description,active license-allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3,OPL-1 -valid-odoo-versions=17.0 +valid-odoo-versions=16.0 [MESSAGES CONTROL] disable=all diff --git a/README.md b/README.md index ccb2fec..b43ea8a 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -[![Pre-commit Status](https://github.com/ifegmbh/ass/actions/workflows/pre-commit.yml/badge.svg?branch=17.0)](https://github.com/ifegmbh/ass/actions/workflows/pre-commit.yml?query=branch%3A17.0) -[![Build Status](https://github.com/ifegmbh/ass/actions/workflows/test.yml/badge.svg?branch=17.0)](https://github.com/ifegmbh/ass/actions/workflows/test.yml?query=branch%3A17.0) -[![codecov](https://codecov.io/gh/ifegmbh/ass/branch/17.0/graph/badge.svg)](https://codecov.io/gh/ifegmbh/ass) +[![Pre-commit Status](https://github.com/ifegmbh/ass/actions/workflows/pre-commit.yml/badge.svg?branch=16.0)](https://github.com/ifegmbh/ass/actions/workflows/pre-commit.yml?query=branch%3A16.0) +[![Build Status](https://github.com/ifegmbh/ass/actions/workflows/test.yml/badge.svg?branch=16.0)](https://github.com/ifegmbh/ass/actions/workflows/test.yml?query=branch%3A16.0) +[![codecov](https://codecov.io/gh/ifegmbh/ass/branch/16.0/graph/badge.svg)](https://codecov.io/gh/ifegmbh/ass)