This question has been flagged

I want to install a module when the checkbox is checked in res.config.settings and uninstall a module when the checkbox is unchecked?


Thank You.

Avatar
Discard
Best Answer

Hi,

For this you can define a field in the settings as follows: suppose if the name module is school_management, a field with name module_school_management in the settings, on clicking this boolean field, module will be installed and on unchecking the boolean, module will be uninstalled.

Sample: https://www.youtube.com/watch?v=-6KncTZIiX0

Thanks

Avatar
Discard