Skip to content

Commit

Permalink
TA#66760 [16.0][MIG] admin_light_base
Browse files Browse the repository at this point in the history
  • Loading branch information
majouda committed Jul 22, 2024
2 parents 981d62a + d89e3e6 commit 2b6210e
Show file tree
Hide file tree
Showing 517 changed files with 611 additions and 10,667 deletions.
4 changes: 0 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ jobs:
name: Run Test
command: docker-compose run --rm odoo run_pytest.sh

- run:
name: Codacy Coverage
command: bash <(curl -Ls https://coverage.codacy.com/get.sh) report -l python -r .log/coverage.xml

- store_test_results:
path: .log

Expand Down
2 changes: 1 addition & 1 deletion .docker_files/main/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# © 2018 Numigi
# Copyright 2024-today Numigi and all its contributors (https://bit.ly/numigiens)
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
50 changes: 3 additions & 47 deletions .docker_files/main/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# © 2018 Numigi
# Copyright 2024-today Numigi and all its contributors (https://bit.ly/numigiens)
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

{
Expand All @@ -11,58 +11,14 @@
"category": "Other",
"summary": "Install all addons required for testing.",
"depends": [
"account", # required for testing auditlog
"sale", # required for testing mail_message_from_author
"stock", # required for testing base_extended_security
"crm", # required for testing mail_notification_no_action_button
"admin_light_auditlog",
"admin_light_base",
"admin_light_bi_view_editor",
"admin_light_calendar",
"admin_light_company",
"admin_light_filters",
"admin_light_gamification",
"admin_light_mail",
"admin_light_mail_gmail",
"admin_light_mail_outlook",
"admin_light_user",
"admin_light_web",
"auth_oauth_authentik",
"automatic_activity_deadlines",
"base_extended_security",
"base_extended_security_grid",
"base",
"attachment_minio",
"base_external_report_layout",
"base_selection_label",
"base_view_mode_restricted",
"base_xml_rename",
"currency_rate_update_boc",
"ir_attachment_access_token_portal",
"lang_fr_activated",
"mail_activity_list_mark_done",
"mail_bot_no_pong",
"mail_notification_no_action_button",
"mail_message_from_author",
"mail_notification_no_footer",
"mail_template_default",
"note_no_default_stage",
# "numipack",
# "numipack_account",
# "numipack_account_enterprise",
# "numipack_project",
# "numipack_purchase",
# "numipack_sale",
# "numipack_stock",
"portal_signature_auto",
"private_data_group",
#"profile_hr",
"queue_job_auto_requeue",
"test_http_request",
"utm_archive",
"web_email_field_new_tab",
"dms_document_url",
"event_allowed_ceu",
"google_api_auth",
"web_base_url_freeze",
],
"installable": True,
}
4 changes: 2 additions & 2 deletions .docker_files/odoo.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ log_handler = :INFO
log_level = info
logfile = None
logrotate = False
longpolling_port = 8071
gevent-port = 8071
max_cron_threads = 1
transient_age_limit = 1.0
transient_count_limit = False
Expand All @@ -49,7 +49,7 @@ test_report_directory = False
translate_modules = ['all']
unaccent = False
without_demo = False
workers = 2
workers = 0
xmlrpc = True
xmlrpc_interface =
xmlrpc_port = 8069
Expand Down
4 changes: 1 addition & 3 deletions .docker_files/test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
ddt==1.2.1
PyJWT==2.4.0
google-api-python-client==2.134.0
google-auth-httplib2==0.2.0
google-auth-oauthlib==1.2.0
minio==7.2.7
12 changes: 0 additions & 12 deletions .flake8

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: pre-commit
on:
pull_request:
branches:
- "14.0*"
- "16.0*"
push:
branches:
- "14.0"
- "16.0"

jobs:
pre-commit:
Expand Down
4 changes: 0 additions & 4 deletions .gitignore

This file was deleted.

30 changes: 0 additions & 30 deletions .pre-commit-config.yaml

This file was deleted.

49 changes: 3 additions & 46 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
FROM quay.io/numigi/odoo-public:14.latest
MAINTAINER numigi <[email protected]>
FROM quay.io/numigi/odoo-public:16.latest
LABEL maintainer="[email protected]"

USER root

ARG GIT_TOKEN

COPY .docker_files/test-requirements.txt ./test-requirements.txt
RUN pip3 install -r ./test-requirements.txt && rm ./test-requirements.txt

Expand All @@ -15,54 +13,13 @@ RUN gitoo install-all --conf_file /gitoo.yml --destination "${THIRD_PARTY_ADDONS

USER odoo

COPY admin_light_auditlog /mnt/extra-addons/admin_light_auditlog
COPY admin_light_base /mnt/extra-addons/admin_light_base
COPY admin_light_bi_view_editor /mnt/extra-addons/admin_light_bi_view_editor
COPY admin_light_calendar /mnt/extra-addons/admin_light_calendar
COPY admin_light_company /mnt/extra-addons/admin_light_company
COPY admin_light_filters /mnt/extra-addons/admin_light_filters
COPY admin_light_gamification /mnt/extra-addons/admin_light_gamification
COPY admin_light_mail /mnt/extra-addons/admin_light_mail
COPY admin_light_mail_gmail /mnt/extra-addons/admin_light_mail_gmail
COPY admin_light_mail_outlook /mnt/extra-addons/admin_light_mail_outlook
COPY admin_light_user /mnt/extra-addons/admin_light_user
COPY admin_light_web /mnt/extra-addons/admin_light_web
COPY auth_oauth_authentik /mnt/extra-addons/auth_oauth_authentik
COPY automatic_activity_deadlines /mnt/extra-addons/automatic_activity_deadlines
COPY base_extended_security /mnt/extra-addons/base_extended_security
COPY base_extended_security_grid /mnt/extra-addons/base_extended_security_grid
COPY attachment_minio /mnt/extra-addons/attachment_minio
COPY base_external_report_layout /mnt/extra-addons/base_external_report_layout
COPY base_selection_label /mnt/extra-addons/base_selection_label
COPY base_view_mode_restricted /mnt/extra-addons/base_view_mode_restricted
COPY base_xml_rename /mnt/extra-addons/base_xml_rename
COPY currency_rate_update_boc /mnt/extra-addons/currency_rate_update_boc
COPY ir_attachment_access_token_portal /mnt/extra-addons/ir_attachment_access_token_portal
COPY lang_fr_activated /mnt/extra-addons/lang_fr_activated
COPY mail_activity_list_mark_done /mnt/extra-addons/mail_activity_list_mark_done
COPY mail_bot_no_pong /mnt/extra-addons/mail_bot_no_pong
COPY mail_notification_no_action_button /mnt/extra-addons/mail_notification_no_action_button
COPY mail_message_from_author /mnt/extra-addons/mail_message_from_author
COPY mail_notification_no_footer /mnt/extra-addons/mail_notification_no_footer
COPY mail_template_default /mnt/extra-addons/mail_template_default
COPY note_no_default_stage /mnt/extra-addons/note_no_default_stage
COPY numipack /mnt/extra-addons/numipack
COPY numipack_account /mnt/extra-addons/numipack_account
COPY numipack_account_enterprise /mnt/extra-addons/numipack_account_enterprise
COPY numipack_project /mnt/extra-addons/numipack_project
COPY numipack_purchase /mnt/extra-addons/numipack_purchase
COPY numipack_sale /mnt/extra-addons/numipack_sale
COPY numipack_stock /mnt/extra-addons/numipack_stock
COPY portal_signature_auto /mnt/extra-addons/portal_signature_auto
COPY profile_hr /mnt/extra-addons/profile_hr
COPY private_data_group /mnt/extra-addons/private_data_group
COPY queue_job_auto_requeue /mnt/extra-addons/queue_job_auto_requeue
COPY test_http_request /mnt/extra-addons/test_http_request
COPY utm_archive /mnt/extra-addons/utm_archive
COPY web_email_field_new_tab /mnt/extra-addons/web_email_field_new_tab
COPY dms_document_url /mnt/extra-addons/dms_document_url
COPY event_allowed_ceu /mnt/extra-addons/event_allowed_ceu
COPY google_api_auth /mnt/extra-addons/google_api_auth
COPY web_base_url_freeze /mnt/extra-addons/web_base_url_freeze

COPY .docker_files/main /mnt/extra-addons/main
COPY .docker_files/odoo.conf /etc/odoo
Loading

0 comments on commit 2b6210e

Please sign in to comment.