diff --git a/.copier-answers.yml b/.copier-answers.yml index b6cac1d4e..5ed6afa66 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,10 +1,11 @@ # Do NOT update manually; changes here will be overwritten by Copier -_commit: v1.11.0 +_commit: v1.14.1 _src_path: gh:oca/oca-addons-repo-template ci: GitHub dependency_installation_mode: PIP generate_requirements_txt: true github_check_license: true +github_ci_extra_env: {} github_enable_codecov: true github_enable_makepot: true github_enable_stale_action: true diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 9b5d86c25..64a21c3ef 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -11,7 +11,7 @@ on: jobs: pre-commit: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f23185845..7fc809fb4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,7 +28,7 @@ jobs: fi done test: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 container: ${{ matrix.container }} name: ${{ matrix.name }} strategy: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3e2accb23..5fdf5fa24 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,6 +27,11 @@ repos: entry: found forbidden files; remove them language: fail files: "\\.rej$" + - id: en-po-files + name: en.po files cannot exist + entry: found a en.po file + language: fail + files: '[a-zA-Z0-9_]*/i18n/en\.po$' - repo: https://github.com/oca/maintainer-tools rev: dfba427ba03900b69e0a7f2c65890dc48921d36a hooks: @@ -96,7 +101,7 @@ repos: - id: pyupgrade args: ["--keep-percent-format"] - repo: https://github.com/PyCQA/isort - rev: 5.9.3 + rev: 5.12.0 hooks: - id: isort name: isort except __init__.py @@ -104,7 +109,7 @@ repos: - --settings=. exclude: /__init__\.py$ - repo: https://github.com/acsone/setuptools-odoo - rev: 3.0.3 + rev: 3.1.8 hooks: - id: setuptools-odoo-make-default - id: setuptools-odoo-get-requirements @@ -113,7 +118,7 @@ repos: - requirements.txt - --header - "# generated from manifests external_dependencies" - - repo: https://gitlab.com/PyCQA/flake8 + - repo: https://github.com/PyCQA/flake8 rev: 3.9.2 hooks: - id: flake8 diff --git a/README.md b/README.md index 8dca74c1a..9c83732d3 100644 --- a/README.md +++ b/README.md @@ -21,12 +21,14 @@ Available addons ---------------- addon | version | maintainers | summary --- | --- | --- | --- -[hr_expense_advance_clearing](hr_expense_advance_clearing/) | 15.0.1.0.0 | [![kittiu](https://github.com/kittiu.png?size=30px)](https://github.com/kittiu) | Employee Advance and Clearing +[hr_expense_advance_clearing](hr_expense_advance_clearing/) | 15.0.1.0.1 | [![kittiu](https://github.com/kittiu.png?size=30px)](https://github.com/kittiu) | Employee Advance and Clearing [hr_expense_cancel](hr_expense_cancel/) | 15.0.1.0.0 | | Hr expense cancel [hr_expense_exception](hr_expense_exception/) | 15.0.1.0.0 | | Custom exceptions on expense report -[hr_expense_invoice](hr_expense_invoice/) | 15.0.1.1.1 | | Supplier invoices on HR expenses +[hr_expense_invoice](hr_expense_invoice/) | 15.0.1.1.2 | | Supplier invoices on HR expenses [hr_expense_payment](hr_expense_payment/) | 15.0.1.0.0 | | HR Expense Payment +[hr_expense_petty_cash](hr_expense_petty_cash/) | 15.0.1.0.0 | | Petty Cash [hr_expense_portal](hr_expense_portal/) | 15.0.1.0.0 | | Show current expense in a website. +[hr_expense_sequence](hr_expense_sequence/) | 15.0.1.0.0 | | HR expense sequence [sale_expense_manual_reinvoice](sale_expense_manual_reinvoice/) | 15.0.1.0.1 | [![ivantodorovich](https://github.com/ivantodorovich.png?size=30px)](https://github.com/ivantodorovich) | Allow to manually re-invoice expenses [//]: # (end addons) diff --git a/hr_expense_advance_clearing/__manifest__.py b/hr_expense_advance_clearing/__manifest__.py index ad8f5eec1..dbabe041f 100644 --- a/hr_expense_advance_clearing/__manifest__.py +++ b/hr_expense_advance_clearing/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Employee Advance and Clearing", - "version": "15.0.1.0.0", + "version": "15.0.1.0.1", "category": "Human Resources", "author": "Ecosoft, Odoo Community Association (OCA)", "license": "AGPL-3", diff --git a/hr_expense_advance_clearing/views/hr_expense_views.xml b/hr_expense_advance_clearing/views/hr_expense_views.xml index fa303803a..6781b1f66 100644 --- a/hr_expense_advance_clearing/views/hr_expense_views.xml +++ b/hr_expense_advance_clearing/views/hr_expense_views.xml @@ -178,7 +178,6 @@ string="Clear Advance" class="oe_highlight" attrs="{'invisible': ['|', '|', ('advance', '=', False), ('state', '!=', 'done'), ('clearing_residual', '=', 0.0)]}" - groups="account.group_account_manager" />