diff options
| author | Pankaj Kamani <pam@odoo.com> | 2017-12-06 15:36:12 +0530 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2018-05-28 11:14:20 +0200 |
| commit | 1a7815f8b77f429643c30bb2f1e7fc272d8f8e43 (patch) | |
| tree | f1435c161dfb880a48ad8c430848e170d23e736b /addons/base_setup/data | |
| parent | f65528a74e8d3f11cadd8658f5495bba21338199 (diff) | |
[IMP] web,base_setup: add option to disable special effects
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>
Diffstat (limited to 'addons/base_setup/data')
| -rw-r--r-- | addons/base_setup/data/base_setup_data.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/addons/base_setup/data/base_setup_data.xml b/addons/base_setup/data/base_setup_data.xml new file mode 100644 index 00000000000..6499d00add4 --- /dev/null +++ b/addons/base_setup/data/base_setup_data.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + <data noupdate="1"> + <record model="ir.config_parameter" id="show_effect"> + <field name="key">base_setup.show_effect</field> + <field name="value">True</field> + </record> + </data> +</odoo> |
