Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2214 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ธ.ค. 22
2021
1
พ.ค. 15
5289
1
ต.ค. 23
1952
1
ส.ค. 23
5851
6
เม.ย. 23
38879