From efbbc6ed605419d20d0ead2163b81a3f7ffef0d3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com>
Date: Fri, 14 Oct 2022 14:35:27 +0200
Subject: [PATCH] [UPD] add module_change_auto_install

---
 14.0.Dockerfile | 2 ++
 odoo.conf       | 7 +++++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/14.0.Dockerfile b/14.0.Dockerfile
index 52e5235..a4a31da 100644
--- a/14.0.Dockerfile
+++ b/14.0.Dockerfile
@@ -83,6 +83,7 @@ RUN set -x; \
            /opt/odoo/additional_addons/ &&\
         git clone -b 14.0 --depth 1 https://github.com/OCA/server-tools.git /tmp/oca-repos/server-tools &&\
         mv /tmp/oca-repos/server-tools/base_search_fuzzy \
+           /tmp/oca-repos/server-tools/module_change_auto_install \
            /opt/odoo/additional_addons/ &&\
         git clone -b 14.0 --depth 1 https://github.com/OCA/server-ux.git /tmp/oca-repos/server-ux &&\
         mv /tmp/oca-repos/server-ux/base_technical_features \
@@ -92,6 +93,7 @@ RUN set -x; \
         git clone -b 14.0 --depth 1 https://github.com/OCA/social.git /tmp/oca-repos/social &&\
         mv /tmp/oca-repos/social/base_search_mail_content \
            /tmp/oca-repos/social/mail_debrand \
+           /tmp/oca-repos/social/mail_tracking \
            /opt/odoo/additional_addons/ &&\
         git clone -b 14.0 --depth 1 https://github.com/OCA/web.git /tmp/oca-repos/web &&\
         mv /tmp/oca-repos/web/web_environment_ribbon \
diff --git a/odoo.conf b/odoo.conf
index 2ea40b2..c552992 100644
--- a/odoo.conf
+++ b/odoo.conf
@@ -21,8 +21,11 @@ db_name = odoo
 ; logfile = None
 ; longpolling_port = 8072
 ; max_cron_threads = 2
+modules_auto_install_disabled = account_edi,mail_bot,web_unsplash
+modules_auto_install_enabled = account_move_name_sequence,account_reconcile_show_boolean,account_reconciliation_widget,disable_odoo_online,mail_debrand,partner_disable_gravatar,partner_firstname,password_security,remove_login_links,remove_odoo_enterprise,web_responsive,web_no_bubble
 ; osv_memory_age_limit = 1.0
 ; osv_memory_count_limit = False
+server_wide_modules = web,module_change_auto_install
 ; smtp_password = False
 ; smtp_port = 25
 ; smtp_server = localhost
@@ -31,8 +34,8 @@ db_name = odoo
 unaccent = True
 ; workers = 0
 ; xmlrpc = True
-; xmlrpc_interface = 
+; xmlrpc_interface =
 ; xmlrpc_port = 8069
 ; xmlrpcs = True
-; xmlrpcs_interface = 
+; xmlrpcs_interface =
 ; xmlrpcs_port = 8071
-- 
GitLab