跳至內容
選單
此問題已被標幟
1 回覆
2392 瀏覽次數

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.

頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
12月 22
2261
1
5月 15
5587
1
10月 23
2148
1
8月 23
6149
6
4月 23
39345