diff --git a/.copier-answers.yml b/.copier-answers.yml index 75dbd1e..f7d867a 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,8 +1,9 @@ # Do NOT update manually; changes here will be overwritten by Copier -_commit: v1.22 +_commit: v1.33 _src_path: https://github.com/OCA/oca-addons-repo-template.git ci: GitHub convert_readme_fragments_to_markdown: true +enable_checklog_odoo: false generate_requirements_txt: true github_check_license: true github_ci_extra_env: {} diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 38b0ba1..afd7524 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -13,13 +13,13 @@ jobs: pre-commit: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: "3.11" - name: Get python version run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV - - uses: actions/cache@v1 + - uses: actions/cache@v4 with: path: ~/.cache/pre-commit key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cca82f7..3969809 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: # runs-on: ubuntu-latest # name: Detect unreleased dependencies # steps: - # - uses: actions/checkout@v3 + # - uses: actions/checkout@v4 # - run: | # for reqfile in requirements.txt test-requirements.txt ; do # if [ -f ${reqfile} ] ; then @@ -48,7 +48,7 @@ jobs: ports: - 5432:5432 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: persist-credentials: false - name: Install addons and dependencies diff --git a/.gitignore b/.gitignore index 0090721..6ec07a0 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,19 @@ var/ *.egg *.eggs +# Windows installers +*.msi + +# Debian packages +*.deb + +# Redhat packages +*.rpm + +# MacOS packages +*.dmg +*.pkg + # Installer logs pip-log.txt pip-delete-this-directory.txt diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c94a087..cfbdc3f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ exclude: | # Files and folders generated by bots, to avoid loops ^setup/|/static/description/index\.html$| # We don't want to mess with tool-generated files - .svg$|/tests/([^/]+/)?cassettes/|^.copier-answers.yml$|^.github/| + .svg$|/tests/([^/]+/)?cassettes/|^.copier-answers.yml$|^.github/|^eslint.config.cjs|^prettier.config.cjs| # Maybe reactivate this when all README files include prettier ignore tags? ^README\.md$| # Library files can have extraneous formatting (even minimized) @@ -39,7 +39,7 @@ repos: language: fail files: '[a-zA-Z0-9_]*/i18n/en\.po$' - repo: https://github.com/oca/maintainer-tools - rev: 9a170331575a265c092ee6b24b845ec508e8ef75 + rev: f9b919b9868143135a9c9cb03021089cabba8223 hooks: # update the NOT INSTALLABLE ADDONS section above - id: oca-update-pre-commit-excluded-addons @@ -59,6 +59,8 @@ repos: hooks: - id: oca-checks-odoo-module - id: oca-checks-po + args: + - --disable=po-pretty-format - repo: https://github.com/myint/autoflake rev: v1.6.1 hooks: @@ -74,25 +76,36 @@ repos: rev: 22.8.0 hooks: - id: black - - repo: https://github.com/pre-commit/mirrors-prettier - rev: v2.7.1 + - repo: local hooks: - id: prettier name: prettier (with plugin-xml) + entry: prettier + args: + - --write + - --list-different + - --ignore-unknown + types: [text] + files: \.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$ + language: node additional_dependencies: - "prettier@2.7.1" - "@prettier/plugin-xml@2.2.0" - args: - - --plugin=@prettier/plugin-xml - files: \.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$ - - repo: https://github.com/pre-commit/mirrors-eslint - rev: v8.24.0 + - repo: local hooks: - id: eslint - verbose: true + name: eslint + entry: eslint args: - --color - --fix + verbose: true + types: [javascript] + language: node + 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,7 +152,7 @@ repos: - --header - "# generated from manifests external_dependencies" - repo: https://github.com/PyCQA/flake8 - rev: 3.9.2 + rev: 5.0.0 hooks: - id: flake8 name: flake8 diff --git a/account_analytic_account_adjust_display_name/README.rst b/account_analytic_account_adjust_display_name/README.rst index 2dd16e0..c70c6e4 100644 --- a/account_analytic_account_adjust_display_name/README.rst +++ b/account_analytic_account_adjust_display_name/README.rst @@ -1,3 +1,7 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + ==================================== Analytic Account Adjust Display Name ==================================== @@ -13,7 +17,7 @@ Analytic Account Adjust Display Name .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png +.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-qrtl%2Ffal--custom-lightgray.png?logo=github diff --git a/account_analytic_account_adjust_display_name/static/description/index.html b/account_analytic_account_adjust_display_name/static/description/index.html index 8014105..01c977d 100644 --- a/account_analytic_account_adjust_display_name/static/description/index.html +++ b/account_analytic_account_adjust_display_name/static/description/index.html @@ -3,7 +3,7 @@ -Analytic Account Adjust Display Name +README.rst -
-

Analytic Account Adjust Display Name

+
+ +Odoo Community Association +
+

Analytic Account Adjust Display Name

-

Beta License: AGPL-3 qrtl/fal-custom

+

Beta License: AGPL-3 qrtl/fal-custom

This module adjusts the display name of the analytic account to show only the name.

-

Background

+

Background

The current display name includes the reference and partner name, making it very long and preventing the display of percentages when analytic distributions are shown in UI.

@@ -385,13 +388,13 @@

Background

-

Use Cases / Context

+

Use Cases / Context

The issue regarding the non-visible percentages for analytic tags in the UI originated from changes implemented in PR https://github.com/odoo/odoo/pull/130235.

-

Bug Tracker

+

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed @@ -399,20 +402,21 @@

Bug Tracker

Do not contact contributors directly about support or help with technical issues.

-

Authors

+

Authors

  • Quartile Limited
-

Maintainers

+

Maintainers

This module is part of the qrtl/fal-custom project on GitHub.

You are welcome to contribute.

+
diff --git a/account_move_ref_duplicatable/README.rst b/account_move_ref_duplicatable/README.rst index e61774a..8e52f15 100644 --- a/account_move_ref_duplicatable/README.rst +++ b/account_move_ref_duplicatable/README.rst @@ -1,3 +1,7 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + ============================= Account Move Ref Duplicatable ============================= @@ -13,7 +17,7 @@ Account Move Ref Duplicatable .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png +.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-qrtl%2Ffal--custom-lightgray.png?logo=github diff --git a/account_move_ref_duplicatable/static/description/index.html b/account_move_ref_duplicatable/static/description/index.html index a0697d4..52d30a0 100644 --- a/account_move_ref_duplicatable/static/description/index.html +++ b/account_move_ref_duplicatable/static/description/index.html @@ -3,7 +3,7 @@ -Account Move Ref Duplicatable +README.rst -
-

Account Move Ref Duplicatable

+
+ +Odoo Community Association +
+

Account Move Ref Duplicatable

-

Beta License: AGPL-3 qrtl/fal-custom

+

Beta License: AGPL-3 qrtl/fal-custom

This module adds functionality to duplicate the value of the reference field when the user duplicates the account move.

Table of contents

@@ -383,7 +386,7 @@

Account Move Ref Duplicatable

-

Bug Tracker

+

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed @@ -391,19 +394,20 @@

Bug Tracker

Do not contact contributors directly about support or help with technical issues.

-

Credits

+

Credits

-

Authors

+

Authors

  • Quartile Limited
-

Maintainers

+

Maintainers

This module is part of the qrtl/fal-custom project on GitHub.

You are welcome to contribute.

+
diff --git a/account_move_solomon_csv/README.rst b/account_move_solomon_csv/README.rst index 6275a88..a997be2 100644 --- a/account_move_solomon_csv/README.rst +++ b/account_move_solomon_csv/README.rst @@ -1,3 +1,7 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + ======================== Account Move Solomon CSV ======================== @@ -13,7 +17,7 @@ Account Move Solomon CSV .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png +.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-qrtl%2Ffal--custom-lightgray.png?logo=github @@ -24,8 +28,8 @@ Account Move Solomon CSV This module does the following: -- Let users export journal entries in CSV format to be uploaded to - Solomon accounting system. +- Let users export journal entries in CSV format to be uploaded to + Solomon accounting system. This module depends on report_csv module from OCA. @@ -39,9 +43,9 @@ Configuration Following settings should be updated: -- Set Solomon Company Code in company. -- Set Plan Type in relevant analytic plans. Plan Type decides which - column of the Solomon data the analytic account will be mapped to. +- Set Solomon Company Code in company. +- Set Plan Type in relevant analytic plans. Plan Type decides which + column of the Solomon data the analytic account will be mapped to. Usage ===== diff --git a/account_move_solomon_csv/static/description/index.html b/account_move_solomon_csv/static/description/index.html index fd89500..d37f02e 100644 --- a/account_move_solomon_csv/static/description/index.html +++ b/account_move_solomon_csv/static/description/index.html @@ -3,7 +3,7 @@ -Account Move Solomon CSV +README.rst -
-

Account Move Solomon CSV

+
+ +Odoo Community Association +
+

Account Move Solomon CSV

-

Beta License: AGPL-3 qrtl/fal-custom

+

Beta License: AGPL-3 qrtl/fal-custom

This module does the following:

  • Let users export journal entries in CSV format to be uploaded to @@ -389,7 +392,7 @@

    Account Move Solomon CSV

-

Configuration

+

Configuration

Following settings should be updated:

  • Set Solomon Company Code in company.
  • @@ -398,12 +401,12 @@

    Configuration

-

Usage

+

Usage

Select journal entries that should be exported, and then go to Print > Solomon CSV to export the data.

-

Bug Tracker

+

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed @@ -411,19 +414,20 @@

Bug Tracker

Do not contact contributors directly about support or help with technical issues.

-

Credits

+

Credits

-

Authors

+

Authors

  • Quartile Limited
-

Maintainers

+

Maintainers

This module is part of the qrtl/fal-custom project on GitHub.

You are welcome to contribute.

+
diff --git a/account_report_qweb_decimal_place/README.rst b/account_report_qweb_decimal_place/README.rst index a0704d4..54d24ea 100644 --- a/account_report_qweb_decimal_place/README.rst +++ b/account_report_qweb_decimal_place/README.rst @@ -1,3 +1,7 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + ================================= Account Report Qweb Decimal Place ================================= @@ -13,7 +17,7 @@ Account Report Qweb Decimal Place .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png +.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-qrtl%2Ffal--custom-lightgray.png?logo=github diff --git a/account_report_qweb_decimal_place/static/description/index.html b/account_report_qweb_decimal_place/static/description/index.html index 4e35579..ad12a11 100644 --- a/account_report_qweb_decimal_place/static/description/index.html +++ b/account_report_qweb_decimal_place/static/description/index.html @@ -3,7 +3,7 @@ -Account Report Qweb Decimal Place +README.rst -
-

Account Report Qweb Decimal Place

+
+ +Odoo Community Association +
+

Account Report Qweb Decimal Place

-

Beta License: AGPL-3 qrtl/fal-custom

+

Beta License: AGPL-3 qrtl/fal-custom

This module provides the option to adjust the price unit format (number of decimal places to apply) of invoice reports according to the configuration of price_decimal_places in currency.

@@ -386,7 +389,7 @@

Account Report Qweb Decimal Place

-

Bug Tracker

+

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed @@ -394,19 +397,20 @@

Bug Tracker

Do not contact contributors directly about support or help with technical issues.

-

Credits

+

Credits

-

Authors

+

Authors

  • Quartile Limited
-

Maintainers

+

Maintainers

This module is part of the qrtl/fal-custom project on GitHub.

You are welcome to contribute.

+
diff --git a/purchase_report_qweb_decimal_place/README.rst b/purchase_report_qweb_decimal_place/README.rst index 6437f43..39cc753 100644 --- a/purchase_report_qweb_decimal_place/README.rst +++ b/purchase_report_qweb_decimal_place/README.rst @@ -1,3 +1,7 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + ================================== Purchase Report Qweb Decimal Place ================================== @@ -13,7 +17,7 @@ Purchase Report Qweb Decimal Place .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png +.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-qrtl%2Ffal--custom-lightgray.png?logo=github diff --git a/purchase_report_qweb_decimal_place/static/description/index.html b/purchase_report_qweb_decimal_place/static/description/index.html index 64dc494..edb3781 100644 --- a/purchase_report_qweb_decimal_place/static/description/index.html +++ b/purchase_report_qweb_decimal_place/static/description/index.html @@ -3,7 +3,7 @@ -Purchase Report Qweb Decimal Place +README.rst -
-

Purchase Report Qweb Decimal Place

+
+ +Odoo Community Association +
+

Purchase Report Qweb Decimal Place

-

Beta License: AGPL-3 qrtl/fal-custom

+

Beta License: AGPL-3 qrtl/fal-custom

This module provides the option to adjust the price unit format (number of decimal places to apply) of purchase reports according to the configuration of price_decimal_places in currency.

@@ -386,7 +389,7 @@

Purchase Report Qweb Decimal Place

-

Bug Tracker

+

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed @@ -394,19 +397,20 @@

Bug Tracker

Do not contact contributors directly about support or help with technical issues.

-

Credits

+

Credits

-

Authors

+

Authors

  • Quartile Limited
-

Maintainers

+

Maintainers

This module is part of the qrtl/fal-custom project on GitHub.

You are welcome to contribute.

+
diff --git a/sale_quotation_send_skip_validate_analytic/README.rst b/sale_quotation_send_skip_validate_analytic/README.rst index 1c4914e..0d461cb 100644 --- a/sale_quotation_send_skip_validate_analytic/README.rst +++ b/sale_quotation_send_skip_validate_analytic/README.rst @@ -1,3 +1,7 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + ========================================== Sale Quotation Send Skip Validate Analytic ========================================== @@ -13,7 +17,7 @@ Sale Quotation Send Skip Validate Analytic .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png +.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-qrtl%2Ffal--custom-lightgray.png?logo=github diff --git a/sale_quotation_send_skip_validate_analytic/static/description/index.html b/sale_quotation_send_skip_validate_analytic/static/description/index.html index 56c9c20..95aaf9a 100644 --- a/sale_quotation_send_skip_validate_analytic/static/description/index.html +++ b/sale_quotation_send_skip_validate_analytic/static/description/index.html @@ -3,7 +3,7 @@ -Sale Quotation Send Skip Validate Analytic +README.rst -
-

Sale Quotation Send Skip Validate Analytic

+
+ +Odoo Community Association +
+

Sale Quotation Send Skip Validate Analytic

-

Beta License: AGPL-3 qrtl/fal-custom

+

Beta License: AGPL-3 qrtl/fal-custom

This module disables validation of analytic distribution for sale order line when the user sends quotation.

Table of contents

@@ -383,7 +386,7 @@

Sale Quotation Send Skip Validate Analytic

-

Bug Tracker

+

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed @@ -391,19 +394,20 @@

Bug Tracker

Do not contact contributors directly about support or help with technical issues.

-

Credits

+

Credits

-

Authors

+

Authors

  • Quartile Limited
-

Maintainers

+

Maintainers

This module is part of the qrtl/fal-custom project on GitHub.

You are welcome to contribute.

+
diff --git a/sale_report_qweb_decimal_place/README.rst b/sale_report_qweb_decimal_place/README.rst index c13760b..b28bec0 100644 --- a/sale_report_qweb_decimal_place/README.rst +++ b/sale_report_qweb_decimal_place/README.rst @@ -1,3 +1,7 @@ +.. image:: https://odoo-community.org/readme-banner-image + :target: https://odoo-community.org/get-involved?utm_source=readme + :alt: Odoo Community Association + ============================== Sale Report Qweb Decimal Place ============================== @@ -13,7 +17,7 @@ Sale Report Qweb Decimal Place .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status :alt: Beta -.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png +.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-qrtl%2Ffal--custom-lightgray.png?logo=github diff --git a/sale_report_qweb_decimal_place/static/description/index.html b/sale_report_qweb_decimal_place/static/description/index.html index 360cbcf..58687bc 100644 --- a/sale_report_qweb_decimal_place/static/description/index.html +++ b/sale_report_qweb_decimal_place/static/description/index.html @@ -3,7 +3,7 @@ -Sale Report Qweb Decimal Place +README.rst -
-

Sale Report Qweb Decimal Place

+
+ +Odoo Community Association +
+

Sale Report Qweb Decimal Place

-

Beta License: AGPL-3 qrtl/fal-custom

+

Beta License: AGPL-3 qrtl/fal-custom

This module provides the option to adjust the price unit format (number of decimal places to apply) of sale reports according to the configuration of price_decimal_places in currency.

@@ -386,7 +389,7 @@

Sale Report Qweb Decimal Place

-

Bug Tracker

+

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed @@ -394,19 +397,20 @@

Bug Tracker

Do not contact contributors directly about support or help with technical issues.

-

Credits

+

Credits

-

Authors

+

Authors

  • Quartile Limited
-

Maintainers

+

Maintainers

This module is part of the qrtl/fal-custom project on GitHub.

You are welcome to contribute.

+