From 170950cee7cbacefef55a0fb7c5d6280be6dfba9 Mon Sep 17 00:00:00 2001 From: Enric Tobella Date: Fri, 27 Jun 2025 11:11:56 +0200 Subject: [PATCH] Update from template --- .copier-answers.yml | 4 +- .pre-commit-config.yaml | 16 +++---- cb_hr_views/pyproject.toml | 3 ++ .../pyproject.toml | 3 ++ hr_holidays_extendable/pyproject.toml | 3 ++ test-requirements.txt | 42 +++++++++---------- 6 files changed, 38 insertions(+), 33 deletions(-) create mode 100644 cb_hr_views/pyproject.toml create mode 100644 cb_resource_calendar_propagate_monday/pyproject.toml create mode 100644 hr_holidays_extendable/pyproject.toml diff --git a/.copier-answers.yml b/.copier-answers.yml index adf65f08..a47680f8 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Do NOT update manually; changes here will be overwritten by Copier -_commit: v1.29 +_commit: v1.32 _src_path: https://github.com/OCA/oca-addons-repo-template.git ci: GitHub convert_readme_fragments_to_markdown: false @@ -21,6 +21,6 @@ repo_description: CreuBlanca human resources repo_name: HR for CreuBlanca repo_slug: cb-hr repo_website: https://github.com/tegin/cb-hr -use_pyproject_toml: false +use_pyproject_toml: true use_ruff: false diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f495a1fa..e1ee1d55 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -38,6 +38,10 @@ repos: entry: found a en.po file language: fail files: '[a-zA-Z0-9_]*/i18n/en\.po$' + - repo: https://github.com/sbidoul/whool + rev: v1.2 + hooks: + - id: whool-init - repo: https://github.com/oca/maintainer-tools rev: d5fab7ee87fceee858a3d01048c78a548974d935 hooks: @@ -53,6 +57,7 @@ repos: - --repo-name=cb-hr - --if-source-changed - --keep-source-digest + - id: oca-gen-external-dependencies - repo: https://github.com/OCA/odoo-pre-commit-hooks rev: v0.0.25 hooks: @@ -104,6 +109,7 @@ repos: additional_dependencies: - "eslint@8.24.0" - "eslint-plugin-jsdoc@" + - "globals@" - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.3.0 hooks: @@ -139,16 +145,6 @@ repos: args: - --settings=. exclude: /__init__\.py$ - - repo: https://github.com/acsone/setuptools-odoo - rev: 3.1.8 - hooks: - - id: setuptools-odoo-make-default - - id: setuptools-odoo-get-requirements - args: - - --output - - requirements.txt - - --header - - "# generated from manifests external_dependencies" - repo: https://github.com/PyCQA/flake8 rev: 5.0.0 hooks: diff --git a/cb_hr_views/pyproject.toml b/cb_hr_views/pyproject.toml new file mode 100644 index 00000000..4231d0cc --- /dev/null +++ b/cb_hr_views/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/cb_resource_calendar_propagate_monday/pyproject.toml b/cb_resource_calendar_propagate_monday/pyproject.toml new file mode 100644 index 00000000..4231d0cc --- /dev/null +++ b/cb_resource_calendar_propagate_monday/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/hr_holidays_extendable/pyproject.toml b/hr_holidays_extendable/pyproject.toml new file mode 100644 index 00000000..4231d0cc --- /dev/null +++ b/hr_holidays_extendable/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/test-requirements.txt b/test-requirements.txt index eedeedb6..83c114d1 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,22 +1,22 @@ # medical-fhir -odoo-addon-medical-administration-center@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=setup/medical_administration_center -odoo-addon-medical-administration-encounter@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=setup/medical_administration_encounter -odoo-addon-medical-administration-encounter-careplan@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=setup/medical_administration_encounter_careplan -odoo-addon-medical-administration-location@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=setup/medical_administration_location -odoo-addon-medical-administration-location-stock@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=setup/medical_administration_location_stock -odoo-addon-medical-administration-practitioner-specialty@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=setup/medical_administration_practitioner_specialty -odoo-addon-medical-base@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=setup/medical_base -odoo-addon-medical-certify@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=setup/medical_certify -odoo-addon-medical-clinical-careplan@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=setup/medical_clinical_careplan -odoo-addon-medical-clinical-procedure@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=setup/medical_clinical_procedure -odoo-addon-medical-clinical-request-group@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=setup/medical_clinical_request_group -odoo-addon-medical-diagnostic-report@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=setup/medical_diagnostic_report -odoo-addon-medical-diagnostic-report-encounter@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=setup/medical_diagnostic_report_encounter -odoo-addon-medical-financial-coverage@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=setup/medical_financial_coverage -odoo-addon-medical-medication@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=setup/medical_medication -odoo-addon-medical-medication-request@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=setup/medical_medication_request -odoo-addon-medical-terminology@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=setup/medical_terminology -odoo-addon-medical-terminology-atc@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=setup/medical_terminology_atc -odoo-addon-medical-terminology-sct@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=setup/medical_terminology_sct -odoo-addon-medical-workflow@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=setup/medical_workflow -odoo-addon-medical-administration-practitioner-specialty@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=setup/medical_administration_practitioner_specialty +odoo-addon-medical_administration_center@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=medical_administration_center +odoo-addon-medical_administration_encounter@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=medical_administration_encounter +odoo-addon-medical_administration_encounter_careplan@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=medical_administration_encounter_careplan +odoo-addon-medical_administration_location@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=medical_administration_location +odoo-addon-medical_administration_location_stock@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=medical_administration_location_stock +odoo-addon-medical_administration_practitioner_specialty@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=medical_administration_practitioner_specialty +odoo-addon-medical_base@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=medical_base +odoo-addon-medical_certify@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=medical_certify +odoo-addon-medical_clinical_careplan@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=medical_clinical_careplan +odoo-addon-medical_clinical_procedure@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=medical_clinical_procedure +odoo-addon-medical_clinical_request_group@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=medical_clinical_request_group +odoo-addon-medical_diagnostic_report@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=medical_diagnostic_report +odoo-addon-medical_diagnostic_report_encounter@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=medical_diagnostic_report_encounter +odoo-addon-medical_financial_coverage@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=medical_financial_coverage +odoo-addon-medical_medication@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=medical_medication +odoo-addon-medical_medication_request@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=medical_medication_request +odoo-addon-medical_terminology@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=medical_terminology +odoo-addon-medical_terminology_atc@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=medical_terminology_atc +odoo-addon-medical_terminology_sct@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=medical_terminology_sct +odoo-addon-medical_workflow@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=medical_workflow +odoo-addon-medical_administration_practitioner_specialty@git+https://github.com/tegin/medical-fhir.git@16.0#subdirectory=medical_administration_practitioner_specialty