diff --git a/.copier-answers.yml b/.copier-answers.yml index b57fe4d..e6fc0de 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.27 +_commit: v1.29 _src_path: https://github.com/OCA/oca-addons-repo-template.git ci: GitHub convert_readme_fragments_to_markdown: false 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 7d6c04f..a1fa8ac 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 b84e492..19edb62 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -150,7 +150,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/queue_management/views/queue_location.xml b/queue_management/views/queue_location.xml index 5fe70d4..095c92a 100644 --- a/queue_management/views/queue_location.xml +++ b/queue_management/views/queue_location.xml @@ -40,12 +40,9 @@ name='token_location_cancelled_ids' context="{'location_id': id}" /> - - -
diff --git a/queue_management/views/queue_token.xml b/queue_management/views/queue_token.xml index 8127a69..eb0df01 100644 --- a/queue_management/views/queue_token.xml +++ b/queue_management/views/queue_token.xml @@ -39,7 +39,6 @@ - diff --git a/queue_management_display/README.rst b/queue_management_display/README.rst new file mode 100644 index 0000000..94bb92a --- /dev/null +++ b/queue_management_display/README.rst @@ -0,0 +1,9 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +======================== +Queue Management Display +======================== + +Management of queue displays diff --git a/queue_management_display/__init__.py b/queue_management_display/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/queue_management_display/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/queue_management_display/__manifest__.py b/queue_management_display/__manifest__.py new file mode 100644 index 0000000..2da68f2 --- /dev/null +++ b/queue_management_display/__manifest__.py @@ -0,0 +1,27 @@ +# Copyright 2022 CreuBlanca +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "Queue Management Display", + "version": "16.0.1.0.0", + "license": "AGPL-3", + "website": "https://github.com/tegin/kiwi", + "author": "CreuBlanca", + "depends": ["queue_management", "bus", "base_sparse_field"], + "data": [ + "views/queue_token_location.xml", + "views/queue_location.xml", + "security/ir.model.access.csv", + "views/queue_display.xml", + "views/queue_management.xml", + ], + # "qweb": ["static/src/xml/queue_management.xml"], + "demo": ["demo/data.xml"], + "assets": { + "web.assets_backend": [ + "/queue_management_display/static/src/**/*.esm.js", + "/queue_management_display/static/src/**/*.xml", + "/queue_management_display/static/src/**/*.scss", + ] + }, +} diff --git a/queue_management_display/demo/data.xml b/queue_management_display/demo/data.xml new file mode 100644 index 0000000..bcdc154 --- /dev/null +++ b/queue_management_display/demo/data.xml @@ -0,0 +1,14 @@ + + +