Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2166 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
gru 22
1977
1
maj 15
5231
1
paź 23
1913
1
sie 23
5808
6
kwi 23
38786