@@ -21,29 +21,29 @@ Change auto installable modules
2121 :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
2222 :alt: License: AGPL-3
2323.. |badge3 | image :: https://img.shields.io/badge/github-OCA%2Fserver--tools-lightgray.png?logo=github
24- :target: https://github.com/OCA/server-tools/tree/18 .0/module_change_auto_install
24+ :target: https://github.com/OCA/server-tools/tree/19 .0/module_change_auto_install
2525 :alt: OCA/server-tools
2626.. |badge4 | image :: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
27- :target: https://translation.odoo-community.org/projects/server-tools-18 -0/server-tools-18 -0-module_change_auto_install
27+ :target: https://translation.odoo-community.org/projects/server-tools-19 -0/server-tools-19 -0-module_change_auto_install
2828 :alt: Translate me on Weblate
2929.. |badge5 | image :: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
30- :target: https://runboat.odoo-community.org/builds?repo=OCA/server-tools&target_branch=18 .0
30+ :target: https://runboat.odoo-community.org/builds?repo=OCA/server-tools&target_branch=19 .0
3131 :alt: Try me on Runboat
3232
3333|badge1 | |badge2 | |badge3 | |badge4 | |badge5 |
3434
3535In odoo, by default some modules are marked as auto installable by the
3636``auto_install `` key present in the manifest.
3737
38- - This feature is very useful for "glue" modules that allow two modules
39- to work together. (A typical example is ``sale_stock `` which allows
40- ``sale `` and ``stock `` modules to work together).
41- - However, Odoo SA also marks some modules as auto installable, even
42- though this is not technically required. This can happen for modules
43- the company wants to promote like ``iap ``, modules with a big wow
44- effect like ``partner_autocomplete ``, or some modules they consider
45- useful by default like ``account_edi ``. See the discussion:
46- https://github.com/odoo/odoo/issues/71190
38+ - This feature is very useful for "glue" modules that allow two modules
39+ to work together. (A typical example is ``sale_stock `` which allows
40+ ``sale `` and ``stock `` modules to work together).
41+ - However, Odoo SA also marks some modules as auto installable, even
42+ though this is not technically required. This can happen for modules
43+ the company wants to promote like ``iap ``, modules with a big wow
44+ effect like ``partner_autocomplete ``, or some modules they consider
45+ useful by default like ``account_edi ``. See the discussion:
46+ https://github.com/odoo/odoo/issues/71190
4747
4848This module allows to change by configuration, the list of auto
4949installable modules, adding or removing some modules to auto install.
@@ -58,25 +58,27 @@ Installation
5858
5959You don't have to install this module. To make the features working :
6060
61- - make the module ``module_change_auto_install `` available in your
62- addons path
63- - either update your ``odoo.cfg `` or set the environment variables
64- following the "Configure" section
61+ - make the module ``module_change_auto_install `` available in your
62+ addons path
63+ - either update your ``odoo.cfg `` or set the environment variables
64+ following the "Configure" section
6565
6666Configuration
6767=============
6868
69- - Edit your ``odoo.cfg `` configuration file:
70- - Add the module ``module_change_auto_install `` in the
71- ``server_wide_modules `` list.
72- - (optional) Add a new entry ``modules_auto_install_disabled `` to mark a
73- list of modules as NOT auto installable. The environment variable
74- ``ODOO_MODULES_AUTO_INSTALL_DISABLED `` can also be set.
75- - (optional) Add a new entry ``modules_auto_install_enabled `` to mark a
76- list of modules as auto installable. This feature can be usefull for
77- companies that are hosting a lot of Odoo instances for many customers,
78- and want some modules to be always installed. The environment variable
79- ``ODOO_MODULES_AUTO_INSTALL_ENABLED `` can also be set.
69+ - Edit your ``odoo.cfg `` configuration file:
70+ - Add the module ``module_change_auto_install `` in the
71+ ``server_wide_modules `` list.
72+ - (optional) Add a new entry ``modules_disabled `` beneath a new section
73+ ``[module_change_auto_install] `` to mark a list of modules as NOT
74+ auto installable. The environment variable
75+ ``ODOO_MODULES_AUTO_INSTALL_DISABLED `` can also be set.
76+ - (optional) Add a new entry ``modules_enabled `` beneath a new section
77+ ``[module_change_auto_install] `` to mark a list of modules as auto
78+ installable. This feature can be usefull for companies that are
79+ hosting a lot of Odoo instances for many customers, and want some
80+ modules to be always installed. The environment variable
81+ ``ODOO_MODULES_AUTO_INSTALL_ENABLED `` can also be set.
8082
8183The values in the configuration file takes precedence over the
8284environment variable values.
@@ -87,12 +89,13 @@ environment variable values.
8789
8890 server_wide_modules = web,module_change_auto_install
8991
90- modules_auto_install_disabled =
92+ [module_change_auto_install]
93+ modules_disabled =
9194 partner_autocomplete,
9295 iap,
9396 mail_bot
9497
95- modules_auto_install_enabled =
98+ modules_enabled =
9699 web_responsive:web,
97100 base_technical_features,
98101 disable_odoo_online,
@@ -121,22 +124,23 @@ if your ``odoo.cfg`` file contains the following configuration:
121124
122125.. code :: cfg
123126
124- modules_auto_install_enabled =
127+ [module_change_auto_install]
128+ modules_enabled =
125129 account_usability,
126130 web_responsive:web,
127131 base_technical_features:,
128132 point_of_sale:sale/purchase
129133
130134 The behaviour will be the following:
131135
132- - ``account_usability `` module will be installed as soon as all the
133- default dependencies are installed. (here ``account ``)
134- - ``web_responsive `` module will be installed as soon as ``web `` is
135- installed. (Althought ``web_responsive `` depends on ``web `` and
136- ``mail ``)
137- - ``base_technical_features `` will be ALWAYS installed
138- - ``point_of_sale `` module will be installed as soon as ``sale `` and
139- ``purchase `` module are installed.
136+ - ``account_usability `` module will be installed as soon as all the
137+ default dependencies are installed. (here ``account ``)
138+ - ``web_responsive `` module will be installed as soon as ``web `` is
139+ installed. (Althought ``web_responsive `` depends on ``web `` and
140+ ``mail ``)
141+ - ``base_technical_features `` will be ALWAYS installed
142+ - ``point_of_sale `` module will be installed as soon as ``sale `` and
143+ ``purchase `` module are installed.
140144
141145When using environment variables, the same configuration is:
142146
@@ -158,7 +162,7 @@ Bug Tracker
158162Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-tools/issues >`_.
159163In case of trouble, please check there if your issue has already been reported.
160164If you spotted it first, help us to smash it by providing a detailed and welcomed
161- `feedback <https://github.com/OCA/server-tools/issues/new?body=module:%20module_change_auto_install%0Aversion:%2018 .0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior** >`_.
165+ `feedback <https://github.com/OCA/server-tools/issues/new?body=module:%20module_change_auto_install%0Aversion:%2019 .0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior** >`_.
162166
163167Do not contact contributors directly about support or help with technical issues.
164168
@@ -173,11 +177,11 @@ Authors
173177Contributors
174178------------
175179
176- - Sylvain LE GAL <https://twitter.com/legalsylvain>
180+ - Sylvain LE GAL <https://twitter.com/legalsylvain>
177181
178- - XCG Consulting, part of `Orbeet <https://orbeet.io/ >`__:
182+ - XCG Consulting, part of `Orbeet <https://orbeet.io/ >`__:
179183
180- - Vincent Hatakeyama <vincent.hatakeyama@xcg-consulting.fr>
184+ - Vincent Hatakeyama <vincent.hatakeyama@xcg-consulting.fr>
181185
182186Maintainers
183187-----------
@@ -200,6 +204,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
200204
201205|maintainer-legalsylvain |
202206
203- This module is part of the `OCA/server-tools <https://github.com/OCA/server-tools/tree/18 .0/module_change_auto_install >`_ project on GitHub.
207+ This module is part of the `OCA/server-tools <https://github.com/OCA/server-tools/tree/19 .0/module_change_auto_install >`_ project on GitHub.
204208
205209You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
0 commit comments