Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2225 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 12 22
2037
1
thg 5 15
5300
1
thg 10 23
1957
1
thg 8 23
5857
6
thg 4 23
38892