From 0a68c655510f1f673d9b8297db500684f7e35062 Mon Sep 17 00:00:00 2001 From: tarteo Date: Wed, 23 Oct 2024 10:45:27 +0200 Subject: [PATCH 01/49] [REM] Deprecated install modules --- .pre-commit-config.yaml | 7 - accountancy_install/__init__.py | 0 accountancy_install/__manifest__.py | 97 ------- community_org_install/README.rst | 5 - community_org_install/__init__.py | 0 community_org_install/__manifest__.py | 241 ------------------ container_install_basis/__manifest__.py | 3 - .../data/res.users.role.csv | 3 - container_install_standard/README.rst | 17 -- container_install_standard/__init__.py | 1 - container_install_standard/__manifest__.py | 16 -- project_org_install/README.rst | 1 - project_org_install/__init__.py | 1 - project_org_install/__manifest__.py | 28 -- services_org_install/README.rst | 5 - services_org_install/__init__.py | 0 services_org_install/__manifest__.py | 190 -------------- trade_org_install/README.rst | 5 - trade_org_install/__init__.py | 0 trade_org_install/__manifest__.py | 175 ------------- university_org_install/README.rst | 5 - university_org_install/__init__.py | 0 university_org_install/__manifest__.py | 189 -------------- 23 files changed, 989 deletions(-) delete mode 100644 accountancy_install/__init__.py delete mode 100644 accountancy_install/__manifest__.py delete mode 100644 community_org_install/README.rst delete mode 100644 community_org_install/__init__.py delete mode 100644 community_org_install/__manifest__.py delete mode 100644 container_install_basis/data/res.users.role.csv delete mode 100644 container_install_standard/README.rst delete mode 100644 container_install_standard/__init__.py delete mode 100644 container_install_standard/__manifest__.py delete mode 100644 project_org_install/README.rst delete mode 100644 project_org_install/__init__.py delete mode 100644 project_org_install/__manifest__.py delete mode 100644 services_org_install/README.rst delete mode 100644 services_org_install/__init__.py delete mode 100644 services_org_install/__manifest__.py delete mode 100644 trade_org_install/README.rst delete mode 100644 trade_org_install/__init__.py delete mode 100644 trade_org_install/__manifest__.py delete mode 100644 university_org_install/README.rst delete mode 100644 university_org_install/__init__.py delete mode 100644 university_org_install/__manifest__.py diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 746d942e..0a90069c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,17 +2,10 @@ exclude: | (?x) # NOT INSTALLABLE ADDONS - ^accountancy_install/| ^base_mail_security/| ^base_partner_security/| ^base_user_limit/| - ^community_org_install/| ^container_hr_recruitment/| - ^container_install_standard/| - ^project_org_install/| - ^services_org_install/| - ^trade_org_install/| - ^university_org_install/| # END NOT INSTALLABLE ADDONS # Files and folders generated by bots, to avoid loops ^setup/|/static/description/index\.html$| diff --git a/accountancy_install/__init__.py b/accountancy_install/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/accountancy_install/__manifest__.py b/accountancy_install/__manifest__.py deleted file mode 100644 index ea012b18..00000000 --- a/accountancy_install/__manifest__.py +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 2023 Onestein BV -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). - -{ - "name": "Accountancy Install", - "summary": """ - This module installs all default Accountancy modules""", - "version": "16.0.1.0.0", - "category": "Accounting & Finance", - "license": "AGPL-3", - "author": "Onestein BV, André Schenkels", - "website": "https://www.onestein.eu", - "depends": [ - "account_configuration", - "container_install_standard", - # PREOCA? - "l10n_nl_rgs", - "l10n_nl_rgs_account_financial_report", - "l10n_nl_rgs_asset", - "l10n_nl_rgs_mis_report", - # BASE - "payment_mollie", - "sale_stock", - "sale_management", - # COMMUNITY - # OCA account-financial-reporting - "account_financial_report", - # OCA account-financial-tools - "account_asset_management", - "account_spread_cost_revenue", - "account_fiscal_position_vat_check", - "account_invoice_constraint_chronology", - "account_journal_lock_date", - "account_lock_date_update", - "account_move_line_purchase_info", - "account_move_line_sale_info", - "account_move_line_tax_editable", - "account_move_print", - "account_usability", - "base_vat_optional_vies", - # OCA account-invoicing - "account_move_tier_validation", - # OCA account-reconcile - "account_reconcile_oca", - # OCA bank-payment - "account_banking_pain_base", - "account_banking_sepa_credit_transfer", - "account_banking_sepa_direct_debit", - "account_payment_sale", - # OCA bank-statement-import - "account_statement_import_camt", - "account_statement_import_camt54", - "account_statement_import_online_paypal", - "account_statement_import_online_ponto", - "account_statement_import_sheet_file", - # OCA credit-control - "account_invoice_overdue_reminder", - # OCA currency - "currency_rate_update", - # OCA l10n-netherlands - "l10n_nl_bank", - "l10n_nl_bsn", - "l10n_nl_postcode", - "l10n_nl_tax_statement", - "l10n_nl_tax_statement_date_range", - "l10n_nl_tax_statement_icp", - "l10n_nl_xaf_auditfile_export", - # OCA mis-builder - "mis_builder", - "mis_builder_budget", - # OCA product-attribute - "product_category_product_link", - # OCA reporting-engine - "report_qr", - "report_qweb_parameter", - "report_wkhtmltopdf_param", - "report_xlsx", - "report_xlsx_helper", - # OCA server-brand - "disable_odoo_online", - "remove_odoo_enterprise", - # OCA server-tools - # OCA server-ux - "date_range", - # OCA stock-logistics-warehouse - "account_move_line_stock_info", - # OCA web - "web_no_bubble", - "web_responsive", - "web_search_with_and", - # THIRD-PARTY - "mollie_account_sync", - "payment_mollie_official", - ], - "data": [], - "installable": False, -} diff --git a/community_org_install/README.rst b/community_org_install/README.rst deleted file mode 100644 index 7595757e..00000000 --- a/community_org_install/README.rst +++ /dev/null @@ -1,5 +0,0 @@ -====================================== -Community Based Organization - Install -====================================== - -Community Based Organization - Install diff --git a/community_org_install/__init__.py b/community_org_install/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/community_org_install/__manifest__.py b/community_org_install/__manifest__.py deleted file mode 100644 index 0ed2ae58..00000000 --- a/community_org_install/__manifest__.py +++ /dev/null @@ -1,241 +0,0 @@ -# Copyright 2023 Onestein () -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -{ - "name": "Community Based Organization - Install", - "description": "Community Based Organization - Install", - "category": "Technical Settings", - "version": "16.0.1.0.0", - "author": "Onestein", - "website": "https://www.onestein.eu", - "license": "AGPL-3", - "depends": [ - "account_configuration", - "container_install_standard", - # Base - "account", - "account_edi", - "account_edi_ubl_cii", - "account_payment", - "account_qr_code_sepa", - "sale_timesheet", - "analytic", - "association", - "attachment_indexation", - "auth_signup", - "auth_totp", - "auth_totp_mail", - "auth_totp_portal", - "barcodes", - "base_address_extended", - "base_automation", - "base_geolocalize", - "base_iban", - "base_import", - "base_setup", - "base_vat", - "board", - "calendar", - "calendar_sms", - "contacts", - "contract", - "contract_payment_mode", - "loyalty", - "crm", - "crm_sms", - "event", - "event_crm", - "event_crm_sale", - "event_sale", - "event_sms", - "google_recaptcha", - "hr", - "hr_contract", - "hr_expense", - "hr_org_chart", - "hr_recruitment", - "hr_timesheet", - "http_routing", - "l10n_nl", - "link_tracker", - "mail", - "mail_bot", - "mail_bot_hr", - "mass_mailing", - "mass_mailing_crm", - "mass_mailing_event", - "mass_mailing_event_track", - "mass_mailing_sale", - "membership", - "payment", - "payment_demo", - "payment_custom", - "phone_validation", - "portal", - "portal_rating", - "product", - "product_margin", - "project", - "project_hr_expense", - "project_purchase", - "purchase", - "purchase_stock", - "rating", - "resource", - "sale", - "sale_loyalty", - "sale_crm", - "sale_expense", - "sale_management", - "sale_project", - "sale_purchase", - "sale_purchase_stock", - "sale_sms", - "sale_stock", - "sales_team", - "sms", - "snailmail", - "snailmail_account", - "social_media", - "stock", - "stock_sms", - "survey", - "uom", - "utm", - "web_editor", - "web_kanban_gauge", - "web_tour", - "web_unsplash", - "website", - "website_blog", - "website_crm", - "website_crm_partner_assign", - "website_crm_sms", - "website_customer", - "website_event", - "website_event_crm", - "website_event_sale", - "website_event_track", - "website_form_project", - "website_google_map", - "website_hr_recruitment", - "website_links", - "website_mail", - "website_mass_mailing", - "website_membership", - "website_partner", - "website_payment", - "website_sale", - "website_sale_loyalty", - "website_sale_stock", - "website_sms", - # Community - "account_invoice_overdue_reminder", - "account_reconcile_oca", - "account_usability", - "account_financial_report", - "account_asset_management", - "account_spread_cost_revenue", - "account_banking_sepa_credit_transfer", - "account_banking_sepa_direct_debit", - "account_fiscal_position_vat_check", - "account_invoice_constraint_chronology", - "account_journal_lock_date", - "account_lock_date_update", - "account_move_line_purchase_info", - "account_move_line_sale_info", - "account_move_line_stock_info", - "account_move_line_tax_editable", - "account_move_print", - "base_vat_optional_vies", - "account_move_tier_validation", - "account_statement_import_online_paypal", - "website_analytics_matomo", - "account_statement_import_file_reconcile_oca", - "account_statement_import_camt", - "account_statement_import_online", - "account_statement_import_online_ponto", - "account_statement_import_sheet_file", - "attachment_preview_remove_preview_button", - "base_fontawesome", - "currency_rate_update", - "date_range", - "l10n_nl_bank", - "l10n_nl_bsn", - "l10n_nl_postcode", - "l10n_nl_tax_statement", - "l10n_nl_tax_statement_date_range", - "l10n_nl_tax_statement_icp", - "l10n_nl_xaf_auditfile_export", - "partner_external_map", - "product_category_product_link", - "project_role", - "report_qr", - "report_qweb_parameter", - "report_wkhtmltopdf_param", - "report_xlsx", - "report_xlsx_helper", - # 'web_widget_dropdown_dynamic', - "web_responsive", - # 'web_responsive_disable_form_attachment_preview', - "website_odoo_debranding", - "hr_expense_remove_mobile_link", - # Onestein - "base_municipality", - "mass_mailing_membership_committee", - "mass_mailing_membership_section", - "mass_mailing_help", - "membership_accessibility", - "membership_committee", - "membership_hr", - "membership_hr_recruitment", - "membership_section", - "project_role_members", - "website_event_share_filter_option", - "website_hide_navbar_technical", - "website_mass_mailing_membership_section", - "website_membership_registration", - "website_membership_section", - "website_project", - "website_project_role_members", - "website_sale_share_filter_option", - "website_share_blogger", - "website_share_diaspora", - "website_share_filter_option_blogger", - "website_share_filter_option_diaspora", - "website_share_filter_option_friendica", - "website_share_filter_option_mastodon", - "website_share_filter_option_pleroma", - "website_share_filter_option_reddit", - "website_share_filter_option_skype", - "website_share_filter_option_snapchat", - "website_share_filter_option_technical", - "website_share_filter_option_telegram", - "website_share_filter_option_tumblr", - "website_share_filter_option_wordpress", - "website_share_friendica", - "website_share_mastodon", - "website_share_pleroma", - "website_share_reddit", - "website_share_skype", - "website_share_snapchat", - "website_share_telegram", - "website_share_tumblr", - "website_share_wordpress", - "website_snippet_dynamic_link", - "website_snippet_openstreetmap", - "website_two_steps_share_technical", - # 3rd-Party - "mollie_account_sync", - "mollie_subscription_ept", - "payment_mollie_official", - "membership_mollie_subscription", - "l10n_nl_rgs", - "l10n_nl_rgs_account_financial_report", - "l10n_nl_rgs_asset", - "l10n_nl_rgs_mis_report", - # 'nextcloud_odoo_sync', - # 'nextcloud_calendar_instance_per_user', - ], - "data": [], - "installable": False, -} diff --git a/container_install_basis/__manifest__.py b/container_install_basis/__manifest__.py index 95cbef61..3e4864d8 100644 --- a/container_install_basis/__manifest__.py +++ b/container_install_basis/__manifest__.py @@ -127,8 +127,5 @@ "l10n_nl_hr_recruitment", "l10n_nl_hr_expense", ], - "data": [ - # "data/res.users.role.csv", # TODO disabled for now - ], "application": True, } diff --git a/container_install_basis/data/res.users.role.csv b/container_install_basis/data/res.users.role.csv deleted file mode 100644 index 6997d2bc..00000000 --- a/container_install_basis/data/res.users.role.csv +++ /dev/null @@ -1,3 +0,0 @@ -"name","implied_ids/id" -"Finance Manager","account.group_account_manager,account_payment_order.group_account_payment" -"Finance Mederwerker","account_payment_order.group_account_payment,account.group_account_user" diff --git a/container_install_standard/README.rst b/container_install_standard/README.rst deleted file mode 100644 index 200fdf6e..00000000 --- a/container_install_standard/README.rst +++ /dev/null @@ -1,17 +0,0 @@ -.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png - :target: https://www.gnu.org/licenses/agpl - :alt: License: AGPL-3 - -===================== -Curq - Install Medium -===================== - -The Medium flavor of Curq. - -- Website -- CRM -- Sales -- Accounting + -- Projects -- Timesheets -- Expenses diff --git a/container_install_standard/__init__.py b/container_install_standard/__init__.py deleted file mode 100644 index ef5ae358..00000000 --- a/container_install_standard/__init__.py +++ /dev/null @@ -1 +0,0 @@ -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). diff --git a/container_install_standard/__manifest__.py b/container_install_standard/__manifest__.py deleted file mode 100644 index b41cf883..00000000 --- a/container_install_standard/__manifest__.py +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 2017-2023 Onestein () -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). - -{ - "name": "Container - Install Medium", - "summary": "Medium flavored modules required for Containers", - "author": "Onestein", - "website": "https://www.onestein.eu", - "category": "Technical Settings", - "version": "16.0.1.0.0", - "license": "AGPL-3", - "depends": ["container_install_basis"], - "data": [], - "application": True, - "installable": False, # This module has to be removed -} diff --git a/project_org_install/README.rst b/project_org_install/README.rst deleted file mode 100644 index b255cbd4..00000000 --- a/project_org_install/README.rst +++ /dev/null @@ -1 +0,0 @@ -# dit diff --git a/project_org_install/__init__.py b/project_org_install/__init__.py deleted file mode 100644 index d7422205..00000000 --- a/project_org_install/__init__.py +++ /dev/null @@ -1 +0,0 @@ -# this diff --git a/project_org_install/__manifest__.py b/project_org_install/__manifest__.py deleted file mode 100644 index a27d9283..00000000 --- a/project_org_install/__manifest__.py +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 2023 Onestein () -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -{ - "name": "Project Managment Based Organization - Install", - "description": "Project Managment Based Organization - Install", - "category": "Technical Settings", - "version": "16.0.1.0.0", - "author": "Onestein", - "website": "https://www.onestein.eu", - "license": "AGPL-3", - "depends": [ - "container_install_standard", - # Base - "project", - # Community - # 'web_widget_dropdown_dynamic', - "web_responsive", - "website_odoo_debranding", - # Onestein - # 'base_municipality', - # 'mass_mailing_membership_committee', - # 3rd-Party - # 'nextcloud_odoo_sync', - # 'nextcloud_calendar_instance_per_user', - ], - "data": [], - "installable": False, -} diff --git a/services_org_install/README.rst b/services_org_install/README.rst deleted file mode 100644 index 69b5a229..00000000 --- a/services_org_install/README.rst +++ /dev/null @@ -1,5 +0,0 @@ -====================================== -Services Based Organization - Install -====================================== - -Services Based Organization - Install diff --git a/services_org_install/__init__.py b/services_org_install/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/services_org_install/__manifest__.py b/services_org_install/__manifest__.py deleted file mode 100644 index 9da7721d..00000000 --- a/services_org_install/__manifest__.py +++ /dev/null @@ -1,190 +0,0 @@ -# Copyright 2023 Onestein () -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -{ - "name": "Services Based Organization - Install", - "description": "Services Based Organization - Install", - "category": "Technical Settings", - "version": "16.0.1.0.0", - "author": "Onestein", - "website": "https://www.onestein.eu", - "license": "AGPL-3", - "depends": [ - "account_configuration", - "container_install_standard", - # Base - "account", - "account_edi", - "account_edi_ubl_cii", - "account_payment", - # 'sale_timesheet', - "account_qr_code_sepa", - "analytic", - "attachment_indexation", - "auth_signup", - "auth_totp", - "auth_totp_mail", - "auth_totp_portal", - "barcodes", - "base_address_extended", - "base_automation", - "base_fontawesome", - "base_geolocalize", - "base_iban", - "base_import", - "base_setup", - "base_vat", - "board", - "calendar", - "calendar_sms", - "contacts", - "contract", - "contract_payment_mode", - "crm", - "crm_sms", - "google_recaptcha", - "helpdesk_mgmt", - "helpdesk_mgmt_project", - "hr", - "hr_contract", - "hr_expense", - "hr_holidays", - "hr_org_chart", - "hr_timesheet", - "http_routing", - "l10n_multilang", - "l10n_nl", - "link_tracker", - "mail", - "mail_bot", - "mail_bot_hr", - "mass_mailing", - "mass_mailing_crm", - "mass_mailing_sale", - "mis_builder", - "mis_builder_budget", - "payment", - "payment_custom", - "phone_validation", - "portal", - "portal_rating", - "product", - "product_margin", - "project", - "project_timesheet_holidays", - "project_hr_expense", - "project_purchase", - "purchase", - "purchase_stock", - "rating", - # 'report_xlsx', - "resource", - "sale", - "sale_loyalty", - "sale_crm", - "sale_expense", - "sale_management", - "sale_project", - "sale_purchase", - "sale_purchase_stock", - "sale_sms", - "sale_stock", - "sales_team", - "sale_timesheet", - "sms", - "snailmail", - "snailmail_account", - "social_media", - "stock", - "stock_sms", - "uom", - "utm", - "web_editor", - "web_kanban_gauge", - "web_tour", - "web_unsplash", - "website", - "website_blog", - "website_crm", - "website_crm_partner_assign", - "website_crm_sms", - "website_customer", - "website_google_map", - "website_mail", - "website_mass_mailing", - "website_partner", - "website_payment", - "website_sale", - "website_sale_loyalty", - "website_sale_stock", - "website_sms", - # Community - "account_invoice_overdue_reminder", - "account_reconcile_oca", - "account_usability", - "account_financial_report", - "account_asset_management", - "account_spread_cost_revenue", - "account_banking_sepa_credit_transfer", - "account_banking_sepa_direct_debit", - "account_fiscal_position_vat_check", - "account_invoice_constraint_chronology", - "account_journal_lock_date", - "account_lock_date_update", - "account_move_line_purchase_info", - "account_move_line_sale_info", - "account_move_line_tax_editable", - "account_move_print", - "base_vat_optional_vies", - "account_move_tier_validation", - "account_statement_import_online_paypal", - "website_analytics_matomo", - "account_statement_import_file_reconcile_oca", - "account_statement_import_camt", - "account_statement_import_online", - "account_statement_import_online_ponto", - "account_statement_import_sheet_file", - "auditlog", - "project_role", - "currency_rate_update", - "date_range", - "disable_odoo_online", - "hr_timesheet_sheet", - "l10n_nl_bank", - "l10n_nl_bsn", - "l10n_nl_postcode", - "l10n_nl_tax_statement", - "l10n_nl_tax_statement_date_range", - "l10n_nl_tax_statement_icp", - "l10n_nl_xaf_auditfile_export", - "mail_tracking", - "mass_mailing_partner", - "partner_external_map", - "project_timeline", - "report_qr", - "report_qweb_parameter", - "report_wkhtmltopdf_param", - "report_xlsx", - "report_xlsx_helper", - "remove_odoo_enterprise", - "web_responsive", - "web_no_bubble", - "web_search_with_and", - "web_widget_x2many_2d_matrix", - "web_timeline", - "website_odoo_debranding", - "hr_expense_remove_mobile_link", - # Onestein - "mass_mailing_help", - # 3rd-Party - "mollie_account_sync", - "mollie_subscription_ept", - "payment_mollie_official", - "l10n_nl_rgs", - "l10n_nl_rgs_account_financial_report", - "l10n_nl_rgs_asset", - "l10n_nl_rgs_mis_report", - # 'nextcloud_odoo_sync', - ], - "data": [], - "installable": False, -} diff --git a/trade_org_install/README.rst b/trade_org_install/README.rst deleted file mode 100644 index 7595757e..00000000 --- a/trade_org_install/README.rst +++ /dev/null @@ -1,5 +0,0 @@ -====================================== -Community Based Organization - Install -====================================== - -Community Based Organization - Install diff --git a/trade_org_install/__init__.py b/trade_org_install/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/trade_org_install/__manifest__.py b/trade_org_install/__manifest__.py deleted file mode 100644 index 82ee0340..00000000 --- a/trade_org_install/__manifest__.py +++ /dev/null @@ -1,175 +0,0 @@ -# Copyright 2023 Onestein () -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -{ - "name": "Trade Based Organization - Install", - "description": "Trade Based Organization - Install", - "category": "Technical Settings", - "version": "16.0.1.0.0", - "author": "Onestein", - "website": "https://www.onestein.eu", - "license": "AGPL-3", - "depends": [ - "container_install_standard", - # Base - "account", - "account_edi", - "account_edi_ubl_cii", - "account_payment", - "account_qr_code_sepa", - "analytic", - "association", - "attachment_indexation", - "auth_signup", - "auth_totp", - "auth_totp_mail", - "auth_totp_portal", - "barcodes", - "base_address_extended", - "base_automation", - "base_fontawesome", - "base_geolocalize", - "base_iban", - "base_import", - "base_setup", - "base_vat", - "board", - "calendar", - "calendar_sms", - "contacts", - "loyalty", - "crm", - "crm_sms", - "event", - "event_crm", - "event_crm_sale", - "event_sale", - "event_sms", - "google_recaptcha", - "hr", - "hr_contract", - "hr_expense", - "hr_org_chart", - "hr_recruitment", - "hr_timesheet", - "http_routing", - "l10n_nl", - "link_tracker", - "mail", - "mail_bot", - "mail_bot_hr", - "mass_mailing", - "mass_mailing_crm", - "mass_mailing_event", - "mass_mailing_event_track", - "mass_mailing_sale", - "payment", - "payment_demo", - "payment_custom", - "phone_validation", - "portal", - "portal_rating", - "product", - "product_margin", - "project", - "project_hr_expense", - "project_purchase", - "purchase", - "purchase_stock", - "rating", - "resource", - "sale", - "sale_loyalty", - "sale_crm", - "sale_expense", - "sale_management", - "sale_project", - "sale_purchase", - "sale_purchase_stock", - "sale_sms", - "sale_stock", - "sales_team", - "sms", - "snailmail", - "snailmail_account", - "social_media", - "stock", - "stock_sms", - "uom", - "utm", - "web_editor", - "web_kanban_gauge", - "web_tour", - "web_unsplash", - "website", - "website_blog", - "website_crm", - "website_crm_partner_assign", - "website_crm_sms", - "website_customer", - "website_event", - "website_event_crm", - "website_event_sale", - "website_event_track", - "website_form_project", - "website_google_map", - "website_hr_recruitment", - "website_links", - "website_mail", - "website_mass_mailing", - "website_partner", - "website_payment", - "website_sale", - "website_sale_loyalty", - "website_sale_stock", - "website_sms", - # Community - "account_reconcile_oca", - "website_analytics_matomo", - "account_statement_import_file_reconcile_oca", - "account_statement_import_camt", - "account_statement_import_online", - "account_statement_import_online_ponto", - "account_statement_import_sheet_file", - "partner_external_map", - "project_role", - # 'web_widget_dropdown_dynamic', - "web_responsive", - "website_odoo_debranding", - "hr_expense_remove_mobile_link", - # Onestein - "base_municipality", - "mass_mailing_help", - "website_event_share_filter_option", - "website_hide_navbar_technical", - "website_project", - "website_sale_share_filter_option", - "website_share_blogger", - "website_share_diaspora", - "website_share_filter_option_blogger", - "website_share_filter_option_diaspora", - "website_share_filter_option_friendica", - "website_share_filter_option_mastodon", - "website_share_filter_option_pleroma", - "website_share_filter_option_reddit", - "website_share_filter_option_skype", - "website_share_filter_option_snapchat", - "website_share_filter_option_technical", - "website_share_filter_option_telegram", - "website_share_filter_option_tumblr", - "website_share_filter_option_wordpress", - "website_share_friendica", - "website_share_mastodon", - "website_share_pleroma", - "website_share_reddit", - "website_share_skype", - "website_share_snapchat", - "website_share_telegram", - "website_share_tumblr", - "website_share_wordpress", - "website_snippet_dynamic_link", - "website_snippet_openstreetmap", - "website_two_steps_share_technical", - ], - "data": [], - "installable": False, -} diff --git a/university_org_install/README.rst b/university_org_install/README.rst deleted file mode 100644 index 9de1204e..00000000 --- a/university_org_install/README.rst +++ /dev/null @@ -1,5 +0,0 @@ -======================================= -University Based Organization - Install -======================================= - -University Based Organization - Install diff --git a/university_org_install/__init__.py b/university_org_install/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/university_org_install/__manifest__.py b/university_org_install/__manifest__.py deleted file mode 100644 index b579c8be..00000000 --- a/university_org_install/__manifest__.py +++ /dev/null @@ -1,189 +0,0 @@ -# Copyright 2023 Onestein () -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -{ - "name": "University Based Organization - Install", - "description": "University Based Organization - Install", - "category": "Technical Settings", - "version": "16.0.1.0.0", - "author": "Onestein", - "website": "https://www.onestein.eu", - "license": "AGPL-3", - "depends": [ - "container_install_standard", - # Base - "account", - "account_edi", - "account_edi_ubl_cii", - "account_payment", - "account_qr_code_sepa", - "analytic", - "association", - "attachment_indexation", - "auth_signup", - "auth_totp", - "auth_totp_mail", - "auth_totp_portal", - "barcodes", - "base_address_extended", - "base_automation", - "base_fontawesome", - "base_geolocalize", - "base_iban", - "base_import", - "base_setup", - "base_vat", - "board", - "calendar", - "calendar_sms", - "contacts", - "loyalty", - "crm", - "crm_sms", - "event", - "event_crm", - "event_crm_sale", - "event_sale", - "event_sms", - "google_recaptcha", - "hr", - "hr_contract", - "hr_expense", - "hr_org_chart", - "hr_recruitment", - "hr_timesheet", - "http_routing", - "l10n_nl", - "link_tracker", - "mail", - "mail_bot", - "mail_bot_hr", - "mass_mailing", - "mass_mailing_crm", - "mass_mailing_event", - "mass_mailing_event_track", - "mass_mailing_sale", - "membership", - "payment", - "payment_demo", - "payment_custom", - "phone_validation", - "portal", - "portal_rating", - "product", - "product_margin", - "project", - "project_hr_expense", - "project_purchase", - "purchase", - "purchase_stock", - "rating", - "resource", - "sale", - "sale_loyalty", - "sale_crm", - "sale_expense", - "sale_management", - "sale_project", - "sale_purchase", - "sale_purchase_stock", - "sale_sms", - "sale_stock", - "sales_team", - "sms", - "snailmail", - "snailmail_account", - "social_media", - "stock", - "stock_sms", - "uom", - "utm", - "web_editor", - "web_kanban_gauge", - "web_tour", - "web_unsplash", - "website", - "website_blog", - "website_crm", - "website_crm_partner_assign", - "website_crm_sms", - "website_customer", - "website_event", - "website_event_crm", - "website_event_sale", - "website_event_track", - "website_form_project", - "website_google_map", - "website_hr_recruitment", - "website_links", - "website_mail", - "website_mass_mailing", - "website_membership", - "website_partner", - "website_payment", - "website_sale", - "website_sale_loyalty", - "website_sale_stock", - "website_sms", - # Community - "account_reconcile_oca", - "website_analytics_matomo", - "account_statement_import_file_reconcile_oca", - "account_statement_import_sheet_file", - "account_statement_import_camt", - "account_statement_import_online", - "account_statement_import_online_ponto", - "partner_external_map", - "project_role", - # 'web_widget_dropdown_dynamic', - "web_responsive", - "website_odoo_debranding", - "hr_expense_remove_mobile_link", - # Onestein - "base_municipality", - "mass_mailing_membership_committee", - "mass_mailing_membership_section", - "mass_mailing_help", - "membership_committee", - "membership_hr", - "membership_hr_recruitment", - "membership_section", - "project_role_members", - "website_event_share_filter_option", - "website_hide_navbar_technical", - "website_mass_mailing_membership_section", - "website_membership_registration", - "website_membership_section", - "website_project", - "website_project_role_members", - "website_sale_share_filter_option", - "website_share_blogger", - "website_share_diaspora", - "website_share_filter_option_blogger", - "website_share_filter_option_diaspora", - "website_share_filter_option_friendica", - "website_share_filter_option_mastodon", - "website_share_filter_option_pleroma", - "website_share_filter_option_reddit", - "website_share_filter_option_skype", - "website_share_filter_option_snapchat", - "website_share_filter_option_technical", - "website_share_filter_option_telegram", - "website_share_filter_option_tumblr", - "website_share_filter_option_wordpress", - "website_share_friendica", - "website_share_mastodon", - "website_share_pleroma", - "website_share_reddit", - "website_share_skype", - "website_share_snapchat", - "website_share_telegram", - "website_share_tumblr", - "website_share_wordpress", - "website_snippet_dynamic_link", - "website_snippet_openstreetmap", - "website_two_steps_share_technical", - # 3rd-Party - ], - "data": [], - "installable": False, -} From bc5e7b3ab1b3862203f2800eb5d2264e590e57e1 Mon Sep 17 00:00:00 2001 From: tarteo Date: Wed, 23 Oct 2024 12:42:15 +0200 Subject: [PATCH 02/49] [REM] base_onboarding, make it easier extendable --- base_onboarding/__manifest__.py | 4 +- base_onboarding/wizards/onboarding_wizard.py | 124 +++++++----------- .../wizards/onboarding_wizard_view.xml | 68 ---------- 3 files changed, 46 insertions(+), 150 deletions(-) diff --git a/base_onboarding/__manifest__.py b/base_onboarding/__manifest__.py index 98d66e15..0cea06d0 100644 --- a/base_onboarding/__manifest__.py +++ b/base_onboarding/__manifest__.py @@ -4,11 +4,11 @@ { "name": "Onboarding", "author": "Onestein", - "website": "https://www.onestein.eu", + "website": "https://onestein.nl", "category": "Extra Tools", "version": "16.0.1.0.0", "license": "AGPL-3", - "depends": ["website", "multi_step_wizard", "web", "mail"], + "depends": ["multi_step_wizard", "web", "mail"], "data": [ "security/res_groups.xml", "security/ir.model.access.csv", diff --git a/base_onboarding/wizards/onboarding_wizard.py b/base_onboarding/wizards/onboarding_wizard.py index 34972ed0..6635ab2e 100644 --- a/base_onboarding/wizards/onboarding_wizard.py +++ b/base_onboarding/wizards/onboarding_wizard.py @@ -6,22 +6,10 @@ class OnboardingWizard(models.TransientModel): _inherit = ["multi.step.wizard.mixin"] _description = "Onboarding Wizard" - def _default_website(self): - website = self.env["website"].search( - [("company_id", "=", self.env.company.id)], limit=1 - ) - if ( - not website - ): # Get the first available website if there's no website found for the current active company - website = self.env["website"].search([], limit=1) - return website - company_id = fields.Many2one( comodel_name="res.company", default=lambda self: self.env.company ) - website_id = fields.Many2one(comodel_name="website", default=_default_website) - company_logo = fields.Binary(related="company_id.logo", readonly=False) company_vat = fields.Char(related="company_id.vat", readonly=False) @@ -36,8 +24,6 @@ def _default_website(self): company_website = fields.Char(related="company_id.website", readonly=False) - website_name = fields.Char(related="website_id.name", readonly=False) - fetchmail_server_id = fields.Many2one( comodel_name="fetchmail.server", string="Incoming Mail Server" ) @@ -46,91 +32,69 @@ def _default_website(self): comodel_name="ir.mail_server", string="Outgoing Mail Server" ) - social_twitter = fields.Char(related="website_id.social_twitter", readonly=False) - social_facebook = fields.Char(related="website_id.social_facebook", readonly=False) - social_linkedin = fields.Char(related="website_id.social_linkedin", readonly=False) - social_youtube = fields.Char(related="website_id.social_youtube", readonly=False) - social_instagram = fields.Char( - related="website_id.social_instagram", readonly=False - ) - theme_module_ids = fields.Many2many( - comodel_name="ir.module.module", compute="_compute_theme_module_ids" - ) + @api.depends("state") + def _compute_allow_back(self): + for record in self: + record.allow_back = record.state != "start" def _reopen_self(self): action = super()._reopen_self() action["name"] = _("Welcome to Odoo") return action - def _compute_theme_module_ids(self): - for wizard in self: - wizard.theme_module_ids = self.env["ir.module.module"].search( - [ - ("state", "!=", "uninstallable"), - ( - "category_id", - "not in", - [ - self.env["ir.model.data"]._xmlid_to_res_id( - "base.module_category_hidden" - ), - self.env["ir.model.data"]._xmlid_to_res_id( - "base.module_category_theme_hidden" - ), - ], - ), - "|", - ( - "category_id", - "=", - self.env["ir.model.data"]._xmlid_to_res_id( - "base.module_category_theme" - ), - ), - ( - "category_id.parent_id", - "=", - self.env["ir.model.data"]._xmlid_to_res_id( - "base.module_category_theme" - ), - ), - ] - ) - @api.model def _selection_state(self): return [ ("start", "Company Information"), - ("website", "Website"), - ("theme", "Theme"), ("mailing", "Mailing"), ("final", "Final"), ] - def state_exit_start(self): - self.state = "website" + def _get_current_state_index(self): + state_selection = self._selection_state() + state_index = 0 + for state in state_selection: + if self.state == state[0]: + break + state_index += 1 + return state_index + + def _get_next_state(self): + state_selection = self._selection_state() + state_index = self._get_current_state_index() + return state_selection[state_index + 1][0] + + def _get_previous_state(self): + state_selection = self._selection_state() + state_index = self._get_current_state_index() + return state_selection[state_index - 1][0] + + def go_to_state(self, state): + self.state = state + enter_method = getattr(self, "state_enter_{}".format(self.state), None) + if enter_method: + enter_method() + return self._reopen_self() + + def open_next(self): + state_method = getattr(self, "state_exit_{}".format(self.state), None) + if state_method is None: + return self.go_to_state(self._get_next_state()) + return super().open_next() - def state_exit_website(self): - self.state = "theme" + def open_previous(self): + state_method = getattr(self, "state_previous_{}".format(self.state), None) + if state_method is None: + return self.go_to_state(self._get_previous_state()) + return super().open_previous() - def state_exit_theme(self): - self.state = "mailing" + def state_exit_start(self): + return self.go_to_state(self._get_next_state()) - def state_exit_mailing(self): + def state_enter_final(self): onboarding_group = self.env.ref("base_onboarding.onboarding_group") onboarding_group.sudo().write({"users": [(3, self.env.user.id, 0)]}) - self.state = "final" - - def state_previous_mailing(self): - self.state = "theme" - - def state_previous_theme(self): - self.state = "website" - - def state_previous_website(self): - self.state = "start" def skip_to_end(self): self.ensure_one() - self.state_exit_mailing() - return self._reopen_self() + return self.go_to_state("final") diff --git a/base_onboarding/wizards/onboarding_wizard_view.xml b/base_onboarding/wizards/onboarding_wizard_view.xml index 3d00335d..d5c1deb8 100644 --- a/base_onboarding/wizards/onboarding_wizard_view.xml +++ b/base_onboarding/wizards/onboarding_wizard_view.xml @@ -28,7 +28,6 @@ -

@@ -55,73 +54,6 @@ - -

-
- - - - - - - -
- - - - - - - - - - - - - - -
- - - - -
-
-
- -
- -
-
- -
- - Live Preview - -
-
-
-
- -
-
- -
-
-
- - - - - From f2c530c8cc8a9d11885af8fc635cee5b8ccdd655 Mon Sep 17 00:00:00 2001 From: tarteo Date: Wed, 23 Oct 2024 13:41:03 +0200 Subject: [PATCH 03/49] [REM] base_onboarding, make it easier extendable [ADD] website_onboarding --- base_onboarding/models/__init__.py | 1 - website_onboarding/__init__.py | 2 + website_onboarding/__manifest__.py | 15 ++++ website_onboarding/models/__init__.py | 1 + .../models/ir_module_module.py | 0 website_onboarding/wizards/__init__.py | 1 + .../wizards/onboarding_wizard.py | 71 +++++++++++++++++ .../wizards/onboarding_wizard_view.xml | 79 +++++++++++++++++++ 8 files changed, 169 insertions(+), 1 deletion(-) create mode 100644 website_onboarding/__init__.py create mode 100644 website_onboarding/__manifest__.py create mode 100644 website_onboarding/models/__init__.py rename {base_onboarding => website_onboarding}/models/ir_module_module.py (100%) create mode 100644 website_onboarding/wizards/__init__.py create mode 100644 website_onboarding/wizards/onboarding_wizard.py create mode 100644 website_onboarding/wizards/onboarding_wizard_view.xml diff --git a/base_onboarding/models/__init__.py b/base_onboarding/models/__init__.py index a6da6c56..37594031 100644 --- a/base_onboarding/models/__init__.py +++ b/base_onboarding/models/__init__.py @@ -1,2 +1 @@ -from . import ir_module_module from . import base_document_layout diff --git a/website_onboarding/__init__.py b/website_onboarding/__init__.py new file mode 100644 index 00000000..976591c9 --- /dev/null +++ b/website_onboarding/__init__.py @@ -0,0 +1,2 @@ +from . import wizards +from . import models diff --git a/website_onboarding/__manifest__.py b/website_onboarding/__manifest__.py new file mode 100644 index 00000000..6b04613a --- /dev/null +++ b/website_onboarding/__manifest__.py @@ -0,0 +1,15 @@ +# Copyright 2017-2023 Onestein () +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "Website Onboarding", + "author": "Onestein", + "website": "https://onestein.nl", + "category": "Website", + "version": "16.0.1.0.0", + "license": "AGPL-3", + "depends": ["website", "base_onboarding"], + "data": [ + "wizards/onboarding_wizard_view.xml", + ], +} diff --git a/website_onboarding/models/__init__.py b/website_onboarding/models/__init__.py new file mode 100644 index 00000000..8e2d2d1b --- /dev/null +++ b/website_onboarding/models/__init__.py @@ -0,0 +1 @@ +from . import ir_module_module diff --git a/base_onboarding/models/ir_module_module.py b/website_onboarding/models/ir_module_module.py similarity index 100% rename from base_onboarding/models/ir_module_module.py rename to website_onboarding/models/ir_module_module.py diff --git a/website_onboarding/wizards/__init__.py b/website_onboarding/wizards/__init__.py new file mode 100644 index 00000000..9f9c4a47 --- /dev/null +++ b/website_onboarding/wizards/__init__.py @@ -0,0 +1 @@ +from . import onboarding_wizard diff --git a/website_onboarding/wizards/onboarding_wizard.py b/website_onboarding/wizards/onboarding_wizard.py new file mode 100644 index 00000000..8ab875f3 --- /dev/null +++ b/website_onboarding/wizards/onboarding_wizard.py @@ -0,0 +1,71 @@ +from odoo import api, fields, models + + +class OnboardingWizard(models.TransientModel): + _inherit = "base.onboarding.wizard" + + def _default_website(self): + website = self.env["website"].search( + [("company_id", "=", self.env.company.id)], limit=1 + ) + if ( + not website + ): # Get the first available website if there's no website found for the current active company + website = self.env["website"].search([], limit=1) + return website + + website_id = fields.Many2one(comodel_name="website", default=_default_website) + website_name = fields.Char(related="website_id.name", readonly=False) + + social_twitter = fields.Char(related="website_id.social_twitter", readonly=False) + social_facebook = fields.Char(related="website_id.social_facebook", readonly=False) + social_linkedin = fields.Char(related="website_id.social_linkedin", readonly=False) + social_youtube = fields.Char(related="website_id.social_youtube", readonly=False) + social_instagram = fields.Char( + related="website_id.social_instagram", readonly=False + ) + theme_module_ids = fields.Many2many( + comodel_name="ir.module.module", compute="_compute_theme_module_ids" + ) + + def _compute_theme_module_ids(self): + for wizard in self: + wizard.theme_module_ids = self.env["ir.module.module"].search( + [ + ("state", "!=", "uninstallable"), + ( + "category_id", + "not in", + [ + self.env["ir.model.data"]._xmlid_to_res_id( + "base.module_category_hidden" + ), + self.env["ir.model.data"]._xmlid_to_res_id( + "base.module_category_theme_hidden" + ), + ], + ), + "|", + ( + "category_id", + "=", + self.env["ir.model.data"]._xmlid_to_res_id( + "base.module_category_theme" + ), + ), + ( + "category_id.parent_id", + "=", + self.env["ir.model.data"]._xmlid_to_res_id( + "base.module_category_theme" + ), + ), + ] + ) + + @api.model + def _selection_state(self): + selection = super()._selection_state() + selection.insert(1, ("theme", "Theme")) + selection.insert(1, ("website", "Website")) + return selection diff --git a/website_onboarding/wizards/onboarding_wizard_view.xml b/website_onboarding/wizards/onboarding_wizard_view.xml new file mode 100644 index 00000000..3b4b4478 --- /dev/null +++ b/website_onboarding/wizards/onboarding_wizard_view.xml @@ -0,0 +1,79 @@ + + + + base.onboarding.wizard + + + + + + +
+
+ + + + + + + +
+ + + + + + + + + + + + + + +
+ + + + +
+
+
+ +
+ +
+
+ +
+ + Live Preview + +
+
+
+
+ +
+
+ +
+
+
+ + + + + + + + From c84b513af96900626eb8129703d2c11c8e472259 Mon Sep 17 00:00:00 2001 From: tarteo Date: Wed, 23 Oct 2024 14:11:30 +0200 Subject: [PATCH 04/49] [REF] container_accessibility remove website dependency [REF] container_accessibility remove hr dependency [ADD] hr_accessibility --- container_accessibility/__manifest__.py | 2 -- .../data/auditlog_rule_data.xml | 14 -------------- hr_accessibility/__init__.py | 2 ++ hr_accessibility/__manifest__.py | 15 +++++++++++++++ hr_accessibility/data/auditlog_rule_data.xml | 16 ++++++++++++++++ 5 files changed, 33 insertions(+), 16 deletions(-) create mode 100644 hr_accessibility/__init__.py create mode 100644 hr_accessibility/__manifest__.py create mode 100644 hr_accessibility/data/auditlog_rule_data.xml diff --git a/container_accessibility/__manifest__.py b/container_accessibility/__manifest__.py index 6b9b9f0b..6d78e503 100644 --- a/container_accessibility/__manifest__.py +++ b/container_accessibility/__manifest__.py @@ -10,11 +10,9 @@ "base_setup", "privacy_lookup", "web_tour", - "website", "payment", "base_menu_visibility_restriction", "auth_oidc", - "hr", "auditlog", "server_environment", "fs_storage", diff --git a/container_accessibility/data/auditlog_rule_data.xml b/container_accessibility/data/auditlog_rule_data.xml index 771d258c..e4aaf628 100644 --- a/container_accessibility/data/auditlog_rule_data.xml +++ b/container_accessibility/data/auditlog_rule_data.xml @@ -42,20 +42,6 @@ - - Employees - - full - - - - - - - + + + Employees + + full + + + + + + + From 588d274d32c011208368a0632164a8dfccacc8d5 Mon Sep 17 00:00:00 2001 From: tarteo Date: Wed, 23 Oct 2024 14:17:39 +0200 Subject: [PATCH 05/49] [ADD] container_install (Essentials Installation) --- container_install/__init__.py | 0 container_install/__manifest__.py | 46 +++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 container_install/__init__.py create mode 100644 container_install/__manifest__.py diff --git a/container_install/__init__.py b/container_install/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/container_install/__manifest__.py b/container_install/__manifest__.py new file mode 100644 index 00000000..b559b2be --- /dev/null +++ b/container_install/__manifest__.py @@ -0,0 +1,46 @@ +{ + "name": "Essentials Installation", + "summary": "Installs essential modules", + "author": "Onestein", + "website": "https://onestein.nl", + "category": "Technical", + "version": "16.0.1.0.0", + "license": "AGPL-3", + "depends": [ + "fs_storage", + "fs_attachment", + "fs_storage_backup", + "web_responsive", + "disable_odoo_online", + "base_fontawesome", + "auth_oidc", + "container_accessibility", + "report_qr", + "report_qweb_parameter", + "report_wkhtmltopdf_param", + "report_xlsx", + "report_xlsx_helper", + "date_range", + "base_tier_validation", + "digest_configuration", + "payment_custom", + "payment_demo", + "l10n_nl_bank", + "l10n_nl_postcode", + "partner_firstname", + "web_no_bubble", + "base_customer_company", + "base_customer_user", + "base_onboarding", + "spreadsheet_dashboard_oca", + "spreadsheet_oca_ux", + "partner_country_default_nl", + "remove_odoo_enterprise", + "base_import_debranding", + "digest_disable", + "partner_external_map", + "fetchmail_notify_error_to_sender", + "base_municipality", # ? contacts + ], + "application": True, +} From 15be64b0b22d3b2cdafefab8c966fe2216b5ef22 Mon Sep 17 00:00:00 2001 From: tarteo Date: Wed, 23 Oct 2024 14:43:41 +0200 Subject: [PATCH 06/49] [ADD] website_install --- website_install/__init__.py | 0 website_install/__manifest__.py | 16 ++++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 website_install/__init__.py create mode 100644 website_install/__manifest__.py diff --git a/website_install/__init__.py b/website_install/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/website_install/__manifest__.py b/website_install/__manifest__.py new file mode 100644 index 00000000..b55f1703 --- /dev/null +++ b/website_install/__manifest__.py @@ -0,0 +1,16 @@ +{ + "name": "Website Installation", + "summary": "Install modules related to website building", + "author": "Onestein", + "website": "https://onestein.nl", + "category": "Website", + "version": "16.0.1.0.0", + "license": "AGPL-3", + "depends": [ + "container_install" "website", + "website_blog", + "website_odoo_debranding", + "website_onboarding", + ], + "application": True, +} From 0809e4e8c702b29667bdf8ab45450eb71fc002ce Mon Sep 17 00:00:00 2001 From: tarteo Date: Wed, 23 Oct 2024 14:44:03 +0200 Subject: [PATCH 07/49] [ADD] website_install --- website_install/__manifest__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website_install/__manifest__.py b/website_install/__manifest__.py index b55f1703..985c8f93 100644 --- a/website_install/__manifest__.py +++ b/website_install/__manifest__.py @@ -7,7 +7,8 @@ "version": "16.0.1.0.0", "license": "AGPL-3", "depends": [ - "container_install" "website", + "container_install", + "website", "website_blog", "website_odoo_debranding", "website_onboarding", From c062cd1cd76cd936dc883b299e0e2760c9c45edc Mon Sep 17 00:00:00 2001 From: tarteo Date: Wed, 23 Oct 2024 14:57:03 +0200 Subject: [PATCH 08/49] [ADD] hr_install --- hr_install/__init__.py | 0 hr_install/__manifest__.py | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 hr_install/__init__.py create mode 100644 hr_install/__manifest__.py diff --git a/hr_install/__init__.py b/hr_install/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/hr_install/__manifest__.py b/hr_install/__manifest__.py new file mode 100644 index 00000000..4eeb6fd0 --- /dev/null +++ b/hr_install/__manifest__.py @@ -0,0 +1,24 @@ +# Copyright 2017-2023 Onestein () +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +{ + "name": "Human Resources Installation", + "summary": "Install modules related to human resource management", + "author": "Onestein", + "website": "https://onestein.nl", + "category": "Human Resources", + "version": "16.0.1.0.0", + "license": "AGPL-3", + "depends": [ + "container_install", + "hr", + "hr_expense", + "hr_expense_remove_mobile_link", + "hr_employee_firstname", + "hr_timesheet_sheet", + "l10n_nl_bsn", + "l10n_nl_hr_recruitment", + "l10n_nl_hr_expense", + ], + "application": True, +} From bdc4189366e2a0cb35f198ad8eda5aabae928920 Mon Sep 17 00:00:00 2001 From: tarteo Date: Wed, 23 Oct 2024 14:58:45 +0200 Subject: [PATCH 09/49] [REM] application key from install module manifests --- container_install/__manifest__.py | 3 +-- hr_install/__manifest__.py | 1 - website_install/__manifest__.py | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/container_install/__manifest__.py b/container_install/__manifest__.py index b559b2be..67a28ffb 100644 --- a/container_install/__manifest__.py +++ b/container_install/__manifest__.py @@ -40,7 +40,6 @@ "digest_disable", "partner_external_map", "fetchmail_notify_error_to_sender", - "base_municipality", # ? contacts + "base_municipality", ], - "application": True, } diff --git a/hr_install/__manifest__.py b/hr_install/__manifest__.py index 4eeb6fd0..e50764cd 100644 --- a/hr_install/__manifest__.py +++ b/hr_install/__manifest__.py @@ -20,5 +20,4 @@ "l10n_nl_hr_recruitment", "l10n_nl_hr_expense", ], - "application": True, } diff --git a/website_install/__manifest__.py b/website_install/__manifest__.py index 985c8f93..1895de73 100644 --- a/website_install/__manifest__.py +++ b/website_install/__manifest__.py @@ -13,5 +13,4 @@ "website_odoo_debranding", "website_onboarding", ], - "application": True, } From ebd763bd3e98539c7f4b48b893f8ce21ad605627 Mon Sep 17 00:00:00 2001 From: tarteo Date: Wed, 23 Oct 2024 15:00:55 +0200 Subject: [PATCH 10/49] [ADD] container_install add product_category_product_link --- container_install/__manifest__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/container_install/__manifest__.py b/container_install/__manifest__.py index 67a28ffb..6f80275b 100644 --- a/container_install/__manifest__.py +++ b/container_install/__manifest__.py @@ -41,5 +41,6 @@ "partner_external_map", "fetchmail_notify_error_to_sender", "base_municipality", + "product_category_product_link", ], } From 3d675d78af5c281f82971b7e5e4697f1170c5d1c Mon Sep 17 00:00:00 2001 From: tarteo Date: Wed, 23 Oct 2024 15:29:26 +0200 Subject: [PATCH 11/49] [ADD] membership_install --- membership_install/__init__.py | 0 membership_install/__manifest__.py | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 membership_install/__init__.py create mode 100644 membership_install/__manifest__.py diff --git a/membership_install/__init__.py b/membership_install/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/membership_install/__manifest__.py b/membership_install/__manifest__.py new file mode 100644 index 00000000..8aa5f216 --- /dev/null +++ b/membership_install/__manifest__.py @@ -0,0 +1,23 @@ +{ + "name": "Membership Installation", + "summary": "Install modules related to community building", + "author": "Onestein", + "website": "https://onestein.nl", + "category": "Membership", + "version": "16.0.1.0.0", + "license": "AGPL-3", + "depends": [ + "container_install", + "membership", + "membership_accessibility", + "membership_committee", + "membership_section", + "membership_contribution", + "membership_extension", + "membership_origin", + "membership_prorate", + "membership_report", + "membership_subscription", + "membership_variable_period", + ], +} From 1ce8192c976e05a7d969dba316a0db05c1f54d42 Mon Sep 17 00:00:00 2001 From: tarteo Date: Wed, 23 Oct 2024 15:56:22 +0200 Subject: [PATCH 12/49] [ADD] account_install --- account_install/__init__.py | 0 account_install/__manifest__.py | 59 +++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 account_install/__init__.py create mode 100644 account_install/__manifest__.py diff --git a/account_install/__init__.py b/account_install/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/account_install/__manifest__.py b/account_install/__manifest__.py new file mode 100644 index 00000000..412e77fa --- /dev/null +++ b/account_install/__manifest__.py @@ -0,0 +1,59 @@ +{ + "name": "Accounting installation", + "summary": "Install accounting modules", + "author": "Onestein", + "website": "https://onestein.nl", + "category": "Accounting", + "version": "16.0.1.0.0", + "license": "AGPL-3", + "depends": [ + "container_install", + "account", + "account_payment_mode", + "account_payment_order", + "account_payment_partner", + "account_fiscal_position_vat_check", + "account_invoice_constraint_chronology", + "account_invoice_line_default_account", + "account_journal_lock_date", + "account_lock_date_update", + "account_move_print", + "account_usability", + "base_vat_optional_vies", + "account_reconcile_oca", + "account_statement_base", + "account_payment_sale", + "product_margin", + "account_financial_report", + "product_category_product_link", + "account_statement_import_camt", + "account_statement_import_camt54", + "account_statement_import_file_reconcile_oca", + "account_period_auto_create", + "account_statement_import_online_ponto", + "account_statement_import_online_ponto_statement_creation_mode", + "account_statement_import_sheet_file", + "account_statement_import_sheet_file_sheet_mappings", + "account_move_line_attachment_preview", + "account_configuration", + "account_invoice_overdue_reminder", + "account_move_line_tax_editable", + "account_move_tier_validation", + "account_statement_import_online_paypal", + "contract", + "contract_payment_mode", + "currency_rate_update", + "l10n_nl_rgs", + "l10n_nl_rgs_usability", + "l10n_nl_rgs_mis_report", + "l10n_nl_rgs_account_financial_report", + "l10n_nl_rgs_asset", + "l10n_nl_bank", + "l10n_nl_xaf_auditfile_export", + "l10n_nl_tax_statement", + "l10n_nl_tax_statement_date_range", + "l10n_nl_tax_statement_icp", + "mollie_account_sync", + "payment_mollie_official", + ], +} From f34441e36a0034429f6c81772bdbd1fb8868f57f Mon Sep 17 00:00:00 2001 From: tarteo Date: Wed, 23 Oct 2024 17:00:13 +0200 Subject: [PATCH 13/49] [WIP] install modules in onboarding wizard --- account_install/__manifest__.py | 3 +- base_onboarding/wizards/onboarding_wizard.py | 28 ++++++++--- .../wizards/onboarding_wizard_view.xml | 50 ++++++++++++++++++- hr_install/__manifest__.py | 2 +- membership_install/__manifest__.py | 2 +- website_install/__manifest__.py | 2 +- 6 files changed, 73 insertions(+), 14 deletions(-) diff --git a/account_install/__manifest__.py b/account_install/__manifest__.py index 412e77fa..5026d297 100644 --- a/account_install/__manifest__.py +++ b/account_install/__manifest__.py @@ -1,8 +1,7 @@ { - "name": "Accounting installation", + "name": "Accounting", "summary": "Install accounting modules", "author": "Onestein", - "website": "https://onestein.nl", "category": "Accounting", "version": "16.0.1.0.0", "license": "AGPL-3", diff --git a/base_onboarding/wizards/onboarding_wizard.py b/base_onboarding/wizards/onboarding_wizard.py index 6635ab2e..5c8fcf80 100644 --- a/base_onboarding/wizards/onboarding_wizard.py +++ b/base_onboarding/wizards/onboarding_wizard.py @@ -9,29 +9,40 @@ class OnboardingWizard(models.TransientModel): company_id = fields.Many2one( comodel_name="res.company", default=lambda self: self.env.company ) - company_logo = fields.Binary(related="company_id.logo", readonly=False) - company_vat = fields.Char(related="company_id.vat", readonly=False) - company_registry = fields.Char( related="company_id.company_registry", readonly=False ) - company_phone = fields.Char(related="company_id.phone", readonly=False) - company_email = fields.Char(related="company_id.email", readonly=False) - company_website = fields.Char(related="company_id.website", readonly=False) fetchmail_server_id = fields.Many2one( comodel_name="fetchmail.server", string="Incoming Mail Server" ) - ir_mail_server_id = fields.Many2one( comodel_name="ir.mail_server", string="Outgoing Mail Server" ) + module_ids = fields.Many2many( + comodel_name="ir.module.module", compute="_compute_module_ids" + ) + + @api.depends("state") + def _compute_module_ids(self): + installable_module_names = [ + "account_install", + "website_install", + "membership_install", + "hr_install", + ] + installable_modules = self.env["ir.module.module"].search( + [("name", "in", installable_module_names)] + ) + for wizard in self: + wizard.module_ids = installable_modules + @api.depends("state") def _compute_allow_back(self): for record in self: @@ -45,7 +56,8 @@ def _reopen_self(self): @api.model def _selection_state(self): return [ - ("start", "Company Information"), + ("start", "Installation"), + ("company_info", "Company Information"), ("mailing", "Mailing"), ("final", "Final"), ] diff --git a/base_onboarding/wizards/onboarding_wizard_view.xml b/base_onboarding/wizards/onboarding_wizard_view.xml index d5c1deb8..82015d75 100644 --- a/base_onboarding/wizards/onboarding_wizard_view.xml +++ b/base_onboarding/wizards/onboarding_wizard_view.xml @@ -28,7 +28,55 @@ - + +

Activating apps can take some time

+ + + + + + + + + + + + +
+ + Icon +
+

+   +

+

+ +

+
+ + + + +
+
+
+
+
+
+
+
+

It's important for your company to have a corporate identity. diff --git a/hr_install/__manifest__.py b/hr_install/__manifest__.py index e50764cd..f1ed65b2 100644 --- a/hr_install/__manifest__.py +++ b/hr_install/__manifest__.py @@ -2,7 +2,7 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). { - "name": "Human Resources Installation", + "name": "Human Resources", "summary": "Install modules related to human resource management", "author": "Onestein", "website": "https://onestein.nl", diff --git a/membership_install/__manifest__.py b/membership_install/__manifest__.py index 8aa5f216..b3e81759 100644 --- a/membership_install/__manifest__.py +++ b/membership_install/__manifest__.py @@ -1,5 +1,5 @@ { - "name": "Membership Installation", + "name": "Community Builder", "summary": "Install modules related to community building", "author": "Onestein", "website": "https://onestein.nl", diff --git a/website_install/__manifest__.py b/website_install/__manifest__.py index 1895de73..d03d3b0d 100644 --- a/website_install/__manifest__.py +++ b/website_install/__manifest__.py @@ -1,5 +1,5 @@ { - "name": "Website Installation", + "name": "Website & Blog", "summary": "Install modules related to website building", "author": "Onestein", "website": "https://onestein.nl", From 0349b2ffcfdedab554e2c72c8c436206874b99bc Mon Sep 17 00:00:00 2001 From: tarteo Date: Wed, 23 Oct 2024 17:03:34 +0200 Subject: [PATCH 14/49] [WIP] install modules in onboarding wizard --- base_onboarding/wizards/onboarding_wizard_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_onboarding/wizards/onboarding_wizard_view.xml b/base_onboarding/wizards/onboarding_wizard_view.xml index 82015d75..962162ce 100644 --- a/base_onboarding/wizards/onboarding_wizard_view.xml +++ b/base_onboarding/wizards/onboarding_wizard_view.xml @@ -59,7 +59,7 @@ - -