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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
0
jouluk. 22
|
2019 | ||
|
1
toukok. 15
|
5286 | ||
|
1
lokak. 23
|
1951 | ||
|
1
elok. 23
|
5850 | ||
|
6
huhtik. 23
|
38878 |