Package: odoo-addon-module-change-auto-install
In odoo, by default some modules are marked as auto installable by theauto_installkey present in the manifest.This feature is very useful for “glue” modules that allow two modules
to work together. (A typical example issale_stockwhich allowssaleandstockmodules to work together).However, Odoo SA also marks some modules as auto installable, even
though this is not technically required. This can happen for modules
the company wants to promote likeiap, modules with a big wow
effect likepartner_autocomplete, or some modules they consider
useful by default likeaccount_edi. See the discussion:https://github.com/odoo/odoo/issues/71190This module allows to change by configuration, the list of auto
installable modules, adding or removing some modules to auto install.Table of contentsInstallationConfigurationDevelopmentBug TrackerCreditsAuthorsContributorsMaintainersInstallationYou don’t have to install this module. To make the features working :make the modulemodule_change_auto_installavailable in your
addons pathupdate yourodoo.cfgfollowing the “Configure” sectionConfigurationEdit yourodoo.cfgconfiguration file:Add the modulemodule_change_auto_installin theserver_wide_moduleslist.(optional) Add a new entrymodules_auto_install_disabledto mark
a list of modules as NOT auto installable.(optional) Add a new entrymodules_auto_install_enabledto mark a
list of modules as auto installable. This feature can be usefull for
companies that are hosting a lot of Odoo instances for many
customers, and want some modules to be always installed.Typical Settingsserver_wide_modules=web,module_change_auto_installmodules_auto_install_disabled=partner_autocomplete,iap,mail_botmodules_auto_install_enabled=web_responsive:web,base_technical_features,disable_odoo_online,account_usabilityRun your instance and check logs. Modules that has been altered should
be present in your log, at the load of your instance:INFOdb_nameodoo.addons.module_change_auto_install.patch:Module'iap'hasbeenmarkedasNOTautoinstallable.INFOdb_nameodoo.addons.module_change_auto_install.patch:Module'mail_bot'hasbeenmarkedasNOTautoinstallable.INFOdb_nameodoo.addons.module_change_auto_install.patch:Module'partner_autocomplete'hasbeenmarkedasNOTautoinstallable.INFOdb_nameodoo.modules.loading:42modulesloadedin0.32s,0queries(+0extra)Advanced Configuration Possibilitiesif yourodoo.cfgfile contains the following configuration:modules_auto_install_enabled=account_usability,web_responsive:web,base_technical_features:,point_of_sale:sale/purchaseThe behaviour will be the following:account_usabilitymodule will be installed as soon as all the
default dependencies are installed. (hereaccount)web_responsivemodule will be installed as soon aswebis
installed. (Althoughtweb_responsivedepends onwebandmail)base_technical_featureswill be ALWAYS installedpoint_of_salemodule will be installed as soon assaleandpurchasemodule are installed.DevelopmentIf you upgrade your odoo Instance from a major version to another, using
the OCA Free Software project “OpenUpgrade”, you can also use this
module during the upgrade process, to avoid the installation of useless
new modules.Bug TrackerBugs are tracked onGitHub Issues.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomedfeedback.Do not contact contributors directly about support or help with technical issues.CreditsAuthorsGRAPContributorsSylvain LE GAL <https://twitter.com/legalsylvain>MaintainersThis module is maintained by the OCA.OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.Currentmaintainer:This module is part of theOCA/server-toolsproject on GitHub.You are welcome to contribute. To learn how please visithttps://odoo-community.org/page/Contribute.