summaryrefslogtreecommitdiff
path: root/addons/base_setup/data
AgeCommit message (Collapse)Author
2019-04-18[FIX] base_setup: do not create deleted parameterMartin Trigaux
The base_setup.show_effect parameter is created at module installation (with an external id) and is removed (and its external id) when the option "Show Effect" is unchecked from the general setting. When this option is checked again, the ir.config.parameter entry is recreated but without an external id (as it is user-provided data, not from a data file). When the module base_setup is updated, the record base_setup.show_effect is recreated and the unicity constraint on ir.config.parameter is raised. Set the record as forcecreate="False" to avoid recreating it when the module is updated. Anyway, if somebody uncheck the option, it is not expected to get it back when the module is upgraded. Fixes odoo/odoo#32806 closes odoo/odoo#32808 Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
2018-05-28[IMP] web,base_setup: add option to disable special effectsPankaj Kamani
Some people prefer not to be disturbed by any flashy information. In this commit, we add an option to do just that. When the 'show_effect' option is set to false, then the messages that would be displayed by an effect will be displayed in a notification. Task #37712 Co-authored-by: Mohammed Shekha <msh@openerp.com>