diff --git a/.copier-answers.yml b/.copier-answers.yml index 64a2142a825..3da4ee2ebeb 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,7 +1,8 @@ # Do NOT update manually; changes here will be overwritten by Copier -_commit: v1.17.2 +_commit: v1.19.2 _src_path: gh:oca/oca-addons-repo-template ci: GitHub +convert_readme_fragments_to_markdown: false generate_requirements_txt: true github_check_license: true github_ci_extra_env: {} @@ -19,4 +20,6 @@ repo_description: Odoo modules to support management systems repo_name: Management System repo_slug: management-system repo_website: https://github.com/OCA/management-system +use_pyproject_toml: false +use_ruff: false diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml deleted file mode 100644 index 2ef1c31e0e7..00000000000 --- a/.github/workflows/pre-commit.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: pre-commit - -on: - pull_request: - branches: - - "16.0*" - push: - branches: - - "16.0" - - "16.0-ocabot-*" - -jobs: - pre-commit: - runs-on: ubuntu-22.04 - steps: -<<<<<<< before updating - - uses: actions/checkout@v2 - - uses: actions/setup-python@v4 -======= - - uses: actions/checkout@v3 - - uses: actions/setup-python@v2 - with: - python-version: "3.11" ->>>>>>> after updating - - name: Get python version - run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV - - uses: actions/cache@v1 - with: - path: ~/.cache/pre-commit - key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }} - - name: Install pre-commit - run: pip install pre-commit - - name: Run pre-commit - run: pre-commit run --all-files --show-diff-on-failure --color=always - env: - # Consider valid a PR that changes README fragments but doesn't - # change the README.rst file itself. It's not really a problem - # because the bot will update it anyway after merge. This way, we - # lower the barrier for functional contributors that want to fix the - # readme fragments, while still letting developers get README - # auto-generated (which also helps functionals when using runboat). - # DOCS https://pre-commit.com/#temporarily-disabling-hooks - SKIP: oca-gen-addon-readme - - name: Check that all files generated by pre-commit are in git - run: | - newfiles="$(git ls-files --others --exclude-from=.gitignore)" - if [ "$newfiles" != "" ] ; then - echo "Please check-in the following files:" - echo "$newfiles" - exit 1 - fi diff --git a/.gitignore b/.gitignore index 9c283fd41f6..0090721f5d2 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ __pycache__/ *.py[cod] /.venv /.pytest_cache +/.ruff_cache # C extensions *.so diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c5cd2edcaf0..3f4b3bb8328 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,6 +14,8 @@ exclude: | ^docs/_templates/.*\.html$| # Don't bother non-technical authors with formatting issues in docs readme/.*\.(rst|md)$| + # Ignore build and dist directories in addons + /build/|/dist/| # You don't usually want a bot to modify your legal texts (LICENSE.*|COPYING.*) default_language_version: @@ -35,7 +37,7 @@ repos: language: fail files: '[a-zA-Z0-9_]*/i18n/en\.po$' - repo: https://github.com/oca/maintainer-tools - rev: 969238e47c07d0c40573acff81d170f63245d738 + rev: f71041f22b8cd68cf7c77b73a14ca8d8cd190a60 hooks: # update the NOT INSTALLABLE ADDONS section above - id: oca-update-pre-commit-excluded-addons @@ -48,6 +50,7 @@ repos: - --org-name=OCA - --repo-name=management-system - --if-source-changed + - --keep-source-digest - repo: https://github.com/OCA/odoo-pre-commit-hooks rev: v0.0.25 hooks: diff --git a/README.md b/README.md index bba2a17691f..10e4bec2318 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ addon | version | maintainers | summary [mgmtsystem_nonconformity_repair](mgmtsystem_nonconformity_repair/) | 16.0.1.0.0 | | Bridge module between Repair and Non Conformities [mgmtsystem_nonconformity_type](mgmtsystem_nonconformity_type/) | 16.0.1.0.0 | | Add Nonconformity classification for the root context. [mgmtsystem_partner](mgmtsystem_partner/) | 16.0.1.0.0 | | Add Management System reference on Partner's Contacts. -[mgmtsystem_quality](mgmtsystem_quality/) | 16.0.1.0.0 | [![max3903](https://github.com/max3903.png?size=30px)](https://github.com/max3903) | Manage your quality management system +[mgmtsystem_quality](mgmtsystem_quality/) | 16.0.1.0.1 | [![max3903](https://github.com/max3903.png?size=30px)](https://github.com/max3903) | Manage your quality management system [mgmtsystem_review](mgmtsystem_review/) | 16.0.1.0.0 | | Management System - Review [mgmtsystem_survey](mgmtsystem_survey/) | 16.0.1.0.0 | | Management System - Survey diff --git a/mgmtsystem_quality/README.rst b/mgmtsystem_quality/README.rst index bbf07ae2a19..6701cdc2eef 100644 --- a/mgmtsystem_quality/README.rst +++ b/mgmtsystem_quality/README.rst @@ -7,7 +7,7 @@ Quality Management System !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:67bb871149a4b3ce18d23c25c3153ead998d8b32009f066cd34f561a140f8647 + !! source digest: sha256:a898f4589f85b03c382e80e0b53cd7825ee045f6241aac9967779db55f1e5c5b !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png @@ -105,7 +105,6 @@ Contributors * Luk Vermeylen * Daniel Reis -* Maxime Chambreuil * Gervais Naoussi * Open Source Integrators diff --git a/mgmtsystem_quality/__manifest__.py b/mgmtsystem_quality/__manifest__.py index 4087a52c8de..6086e961d6c 100644 --- a/mgmtsystem_quality/__manifest__.py +++ b/mgmtsystem_quality/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Quality Management System", "summary": "Manage your quality management system", - "version": "16.0.1.0.0", + "version": "16.0.1.0.1", "author": "Savoir-faire Linux, Odoo Community Association (OCA)", "website": "https://github.com/OCA/management-system", "license": "AGPL-3", diff --git a/mgmtsystem_quality/readme/CONTRIBUTORS.rst b/mgmtsystem_quality/readme/CONTRIBUTORS.rst index 6ab5eac29f3..dcee302237b 100644 --- a/mgmtsystem_quality/readme/CONTRIBUTORS.rst +++ b/mgmtsystem_quality/readme/CONTRIBUTORS.rst @@ -1,6 +1,5 @@ * Luk Vermeylen * Daniel Reis -* Maxime Chambreuil * Gervais Naoussi * Open Source Integrators diff --git a/mgmtsystem_quality/static/description/index.html b/mgmtsystem_quality/static/description/index.html index 339029f5a01..10081af1d06 100644 --- a/mgmtsystem_quality/static/description/index.html +++ b/mgmtsystem_quality/static/description/index.html @@ -367,7 +367,7 @@

Quality Management System

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:67bb871149a4b3ce18d23c25c3153ead998d8b32009f066cd34f561a140f8647 +!! source digest: sha256:a898f4589f85b03c382e80e0b53cd7825ee045f6241aac9967779db55f1e5c5b !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: AGPL-3 OCA/management-system Translate me on Weblate Try me on Runboat

This module was written to allow you to manage your Quality Management System (QMS) @@ -456,7 +456,6 @@

Contributors