diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..c56b209 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,47 @@ +name: Build + +on: + push: + branches: + - 16.0 + + +jobs: + test: + runs-on: ubuntu-22.04 + container: ${{ matrix.container }} + name: ${{ matrix.name }} + strategy: + fail-fast: false + matrix: + include: + - container: ghcr.io/oca/oca-ci/py3.10-odoo18.0:latest + name: test with Odoo + services: + postgres: + image: postgres:12.0 + env: + POSTGRES_USER: odoo + POSTGRES_PASSWORD: odoo + POSTGRES_DB: odoo + ports: + - 5432:5432 + env: + OCA_ENABLE_CHECKLOG_ODOO: "1" + steps: + - uses: actions/checkout@v4 + with: + persist-credentials: false + - name: Install addons and dependencies + run: oca_install_addons + - name: Check licenses + run: manifestoo -d . check-licenses + - name: Check development status + run: manifestoo -d . check-dev-status --default-dev-status=Beta + - name: Initialize test db + run: oca_init_test_database + - name: Run tests + run: oca_run_tests + - uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/README.md b/README.md new file mode 100644 index 0000000..19cd7df --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +Test codecov 4 diff --git a/helpdesk_portal_ticket_custom/.gitignore b/helpdesk_portal_ticket_custom/.gitignore new file mode 100644 index 0000000..6da5887 --- /dev/null +++ b/helpdesk_portal_ticket_custom/.gitignore @@ -0,0 +1,2 @@ +*.*~ +*pyc diff --git a/helpdesk_portal_ticket_custom/README.md b/helpdesk_portal_ticket_custom/README.md new file mode 100644 index 0000000..b2f6b90 --- /dev/null +++ b/helpdesk_portal_ticket_custom/README.md @@ -0,0 +1,37 @@ +==================================== +helpdesk_portal_ticket_custom +==================================== + +Customization for ticket portal view. + +# Installation + +Use Odoo normal module installation procedure to install +`helpdesk_portal_ticket_custom`. + +# Known issues / Roadmap + +None yet. + +# Bug Tracker + +Bugs are tracked on `our issues website `\_. In case of +trouble, please check there if your issue has already been +reported. If you spotted it first, help us smashing it by providing a +detailed and welcomed feedback. + +# Credits + +## Contributors + +- Joris Scampucci + +## Funders + +The development of this module has been financially supported by: + +- Elabore (https://elabore.coop) + +## Maintainer + +This module is maintained by Elabore. diff --git a/helpdesk_portal_ticket_custom/__init__.py b/helpdesk_portal_ticket_custom/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/helpdesk_portal_ticket_custom/__manifest__.py b/helpdesk_portal_ticket_custom/__manifest__.py new file mode 100644 index 0000000..e2e48d2 --- /dev/null +++ b/helpdesk_portal_ticket_custom/__manifest__.py @@ -0,0 +1,35 @@ +# Copyright 2024 Joris Scampucci" (Elabore) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "helpdesk_portal_ticket_custom", + "version": "16.0.1.0.0", + "author": "Elabore", + "website": "https://elabore.coop", + "maintainer": "Joris Scampucci", + "license": "AGPL-3", + "category": "Tools", + "summary": "Customization for ticket portal view.", + # any module necessary for this one to work correctly + "depends": [ + "base", + "helpdesk_mgmt", + ], + "qweb": [], + "external_dependencies": { + "python": [], + }, + # always loaded + "data": [ + "views/portal_ticket_views.xml", + ], + # only loaded in demonstration mode + "demo": [], + "js": [], + "css": [], + "installable": True, + # Install this module automatically if all dependency have been previously + # and independently installed. Used for synergetic or glue modules. + "auto_install": False, + "application": False, +} diff --git a/helpdesk_portal_ticket_custom/views/portal_ticket_views.xml b/helpdesk_portal_ticket_custom/views/portal_ticket_views.xml new file mode 100644 index 0000000..d795ff8 --- /dev/null +++ b/helpdesk_portal_ticket_custom/views/portal_ticket_views.xml @@ -0,0 +1,29 @@ + + + + + + + + + \ No newline at end of file diff --git a/helpdesk_transfer_timesheet_to_task/requirements.txt b/helpdesk_transfer_timesheet_to_task/requirements.txt new file mode 100644 index 0000000..5f9cc0a --- /dev/null +++ b/helpdesk_transfer_timesheet_to_task/requirements.txt @@ -0,0 +1,19 @@ +# Testing dependencies +pytest>=7.0.0 +pytest-cov>=4.0.0 +pytest-mock>=3.10.0 + +# Odoo dependencies (if testing outside Odoo environment) +# odoo>=16.0,<17.0 + +# Additional testing utilities +coverage>=7.0.0 +xmlrunner>=1.7.7 + +# Development dependencies +flake8>=6.0.0 +black>=22.0.0 +isort>=5.12.0 + +# Optional: for XML parsing/validation +lxml>=4.9.0 \ No newline at end of file diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 0000000..f0e8584 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1 @@ +sonar.projectKey=jscampucci_helpdesk-tools_AZenYBWXjg71hCM4Kd7U