[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>
This commit is contained in:
Pankaj Kamani
2018-05-28 11:14:20 +02:00
committed by Géry Debongnie
co-authored by Mohammed Shekha
parent f65528a74e
commit 1a7815f8b7
9 changed files with 54 additions and 7 deletions
@@ -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>