diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 53381cb1a9..5658a74c1f 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -12,13 +12,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 879431f94e..603607954e 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 @@ -50,7 +50,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/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4231d7333d..e9dd701fab 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -130,7 +130,7 @@ repos: - id: ruff-format - repo: https://github.com/OCA/pylint-odoo - rev: v9.1.3 + rev: v9.2.0 hooks: - id: pylint_odoo name: pylint with optional checks diff --git a/.ruff.toml b/.ruff.toml index 232e2e3208..550805e035 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -21,16 +21,16 @@ exclude = ["setup/*"] [format] exclude = ["setup/*"] -[per-file-ignores] +[lint.per-file-ignores] "__init__.py" = ["F401", "I001"] # ignore unused and unsorted imports in __init__.py "__manifest__.py" = ["B018"] # useless expression -[isort] +[lint.isort] section-order = ["future", "standard-library", "third-party", "odoo", "odoo-addons", "first-party", "local-folder"] [isort.sections] "odoo" = ["odoo"] "odoo-addons" = ["odoo.addons"] -[mccabe] +[lint.mccabe] max-complexity = 50 diff --git a/README.md b/README.md index 1b7e64715d..ee89671060 100644 --- a/README.md +++ b/README.md @@ -165,7 +165,7 @@ addon | version | maintainers | summary | price [deltatech_service_maintenance](deltatech_service_maintenance/) | 17.0.1.1.7 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Services Maintenance | Free [deltatech_service_maintenance_agreement](deltatech_service_maintenance_agreement/) | 17.0.1.0.4 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Services Maintenance | Free [deltatech_service_maintenance_plan](deltatech_service_maintenance_plan/) | 17.0.1.0.6 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Services Maintenance Plan | Free -[deltatech_sms](deltatech_sms/) | 17.0.1.0.0 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Send SMS to custom endpoint | Free +[deltatech_sms](deltatech_sms/) | 17.0.1.0.1 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Send SMS to custom endpoint | Free [deltatech_sms_sale](deltatech_sms_sale/) | 17.0.1.0.1 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | send SMS at sale order confirmation | Free [deltatech_stock_account](deltatech_stock_account/) | 17.0.1.0.4 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Stock Account Extension | Free [deltatech_stock_analytic](deltatech_stock_analytic/) | 17.0.1.0.1 | [![danila12](https://github.com/danila12.png?size=30px)](https://github.com/danila12) | Create analytic lines from stock moves | Free diff --git a/deltatech_actions/README.rst b/deltatech_actions/README.rst index 629123d629..d7c19f2a47 100644 --- a/deltatech_actions/README.rst +++ b/deltatech_actions/README.rst @@ -24,10 +24,10 @@ Deltatech Actions Features: -- Search and delete duplicate xml anaf files (cron: Delete duplicate - xml attachments) -- Cancel sale order (including picking, stock moves and account moves - linked) +- Search and delete duplicate xml anaf files (cron: Delete duplicate xml + attachments) +- Cancel sale order (including picking, stock moves and account moves + linked) **Table of contents** diff --git a/deltatech_actions/static/description/index.html b/deltatech_actions/static/description/index.html index 3a93889831..59cf326e0c 100644 --- a/deltatech_actions/static/description/index.html +++ b/deltatech_actions/static/description/index.html @@ -19,8 +19,8 @@

Deltatech Actions

Beta License: OPL-1 dhongu/deltatech

Features:

diff --git a/deltatech_alternative/README.rst b/deltatech_alternative/README.rst index 0bcebba0ff..c59e0376cb 100644 --- a/deltatech_alternative/README.rst +++ b/deltatech_alternative/README.rst @@ -22,23 +22,23 @@ Products Alternative |badge1| |badge2| |badge3| -- Features: +- Features: - - + - - - New model: product_catelog for big master data of products + - New model: product_catelog for big master data of products - - generate new product from catalog: If the search for a - product by code does not return results, an additional - search is made in the product catalog and a product is - automatically generated if it has been found + - generate new product from catalog: If the search for a product + by code does not return results, an additional search is made in + the product catalog and a product is automatically generated if + it has been found - - A module that adds an alternative on the product form + - A module that adds an alternative on the product form - - Search product by alternative code + - Search product by alternative code - - A new product field (used for) to indicate what the product may be - used for + - A new product field (used for) to indicate what the product may be + used for Camp adaugat in produs search_index in care se face cautarea daca este setat paramentrul deltatech_alternative_website.search_index diff --git a/deltatech_alternative/static/description/index.html b/deltatech_alternative/static/description/index.html index e906257899..0deafb1d76 100644 --- a/deltatech_alternative/static/description/index.html +++ b/deltatech_alternative/static/description/index.html @@ -21,10 +21,10 @@

Products Alternative

  • Features: