Dharmraj Jhala
4330ea0267
[ADD] web, *: add rainbowification
...
This commit introduces the 'rainbowification' feature to the web client
(and to some affected addons). This feature is essentially a way to
display a nice friendly message when some business event happens. For
example, a encouraging message is displayed when the user clear her/his
inbox, or when a salesman closes a deal.
The mechanism currently only displays a 'rainbowman', but could be
extended later to add other kind of animation.
There are a few different ways to display a 'rainbowman':
- any JS code can simply trigger_up an event ('show_effect') with some
options: for example
this.trigger_up('show_effect', {
type: 'rainbow_man',
fadeout: 'no',
message: $done,
click_close: false,
});
- an action returned by the server can have an 'effect' key, with some
options
- the do_execute_action method accepts a 'effect' option. This is
useful when one wants to specify a rainbow on an action button in a
form view
Joint work with: dbh <dbh@odoo.com >, ged <ged@odoo.com >
2017-07-12 13:43:08 +02:00
..
2017-07-12 13:43:08 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-10 10:40:11 +02:00
2017-07-07 15:50:48 +02:00
2017-06-02 15:53:09 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-07 14:30:30 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-06 12:53:39 +02:00
2017-07-12 09:54:00 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-07 14:30:30 +02:00
2017-05-18 14:15:07 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-12 13:43:08 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-07 14:30:30 +02:00
2017-07-05 11:48:45 +02:00
2017-07-11 16:28:36 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-07 14:30:30 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-07 14:30:30 +02:00
2017-07-07 14:30:30 +02:00
2017-07-05 11:48:45 +02:00
2017-07-07 14:30:30 +02:00
2017-07-05 11:48:45 +02:00
2017-07-11 15:59:10 +02:00
2017-07-10 12:47:00 +02:00
2017-07-07 14:30:30 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-07 14:30:30 +02:00
2017-07-05 11:48:45 +02:00
2017-07-07 14:30:30 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-05-22 13:30:50 +02:00
2017-06-26 10:13:25 +02:00
2017-06-06 19:38:29 +02:00
2017-05-22 13:30:50 +02:00
2017-05-15 12:26:16 +02:00
2017-05-22 13:30:50 +02:00
2017-06-06 19:38:29 +02:00
2017-06-15 18:44:16 +02:00
2017-07-10 08:49:22 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-07-05 11:48:45 +02:00
2017-06-19 17:37:38 +02:00
2017-07-05 11:48:45 +02:00
2017-07-06 12:53:39 +02:00
2017-06-26 10:13:25 +02:00
2017-07-01 02:39:14 +02:00
2017-05-18 17:05:22 +02:00
2017-06-27 14:19:31 +02:00
2017-06-26 10:13:25 +02:00
2017-06-01 00:15:27 +02:00
2017-05-30 12:26:46 +02:00
2017-05-16 14:56:02 +02:00
2017-06-26 10:13:25 +02:00
2017-07-01 02:39:14 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-05-18 17:05:22 +02:00
2017-06-26 10:13:25 +02:00
2017-05-18 17:05:22 +02:00
2017-07-05 11:48:45 +02:00
2017-06-27 14:19:31 +02:00
2017-05-16 18:23:15 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-06-14 13:45:10 +02:00
2017-05-18 17:05:22 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-07-05 11:48:45 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-07-01 02:39:14 +02:00
2017-06-26 10:13:25 +02:00
2017-07-01 02:39:14 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-06-26 10:13:25 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-12 13:43:08 +02:00
2017-07-07 14:30:30 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-07 14:30:30 +02:00
2017-07-07 14:30:30 +02:00
2017-07-07 14:30:30 +02:00
2017-07-05 11:48:45 +02:00
2017-07-07 14:30:30 +02:00
2017-07-07 14:30:30 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-07 20:06:41 +02:00
2017-07-05 11:48:45 +02:00
2017-07-07 14:30:30 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-06-20 09:00:47 +02:00
2017-07-12 09:54:00 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-07 15:50:48 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-11 15:31:04 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-11 16:28:36 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-07 14:30:30 +02:00
2017-07-07 14:30:30 +02:00
2017-07-05 11:48:45 +02:00
2017-06-27 14:19:31 +02:00
2017-07-11 16:28:36 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-10 08:46:27 +02:00
2017-07-10 08:46:27 +02:00
2017-07-10 08:46:27 +02:00
2017-07-05 11:48:45 +02:00
2017-07-11 17:01:34 +02:00
2017-07-11 16:28:36 +02:00
2017-07-05 11:48:45 +02:00
2017-06-09 17:11:47 +02:00
2017-06-02 15:53:09 +02:00
2017-07-11 16:28:36 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-06-08 11:22:02 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-07 20:06:41 +02:00
2017-07-11 17:10:57 +02:00
2017-07-11 14:27:37 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 23:32:23 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-12 13:43:08 +02:00
2017-07-05 11:48:45 +02:00
2017-07-10 13:37:40 +02:00
2017-07-05 11:48:45 +02:00
2017-07-10 13:37:40 +02:00
2017-07-05 11:48:45 +02:00
2017-07-12 13:43:08 +02:00
2017-07-10 13:37:40 +02:00
2017-07-11 11:28:18 +02:00
2017-07-07 14:30:30 +02:00
2017-07-05 11:48:45 +02:00
2017-07-06 12:53:39 +02:00
2017-07-07 14:30:30 +02:00
2017-07-07 14:30:30 +02:00
2017-07-07 14:30:30 +02:00
2017-07-05 11:48:45 +02:00
2017-07-07 14:30:30 +02:00
2017-07-07 14:30:30 +02:00
2017-07-07 14:30:30 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-06-01 02:40:07 +02:00
2017-07-05 11:48:45 +02:00
2017-07-07 14:30:30 +02:00
2017-07-06 09:39:32 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-12 09:54:00 +02:00
2017-07-11 11:28:18 +02:00
2017-07-11 11:28:18 +02:00
2017-07-11 11:28:18 +02:00
2017-07-11 11:28:18 +02:00
2017-07-11 11:28:18 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00
2017-07-12 09:54:00 +02:00
2017-06-30 11:07:00 +02:00
2017-07-05 11:48:45 +02:00
2017-07-12 09:54:00 +02:00
2017-07-05 11:48:45 +02:00
2017-07-07 14:30:30 +02:00
2017-06-02 15:53:09 +02:00
2017-07-11 16:28:36 +02:00
2017-07-05 11:48:45 +02:00
2017-07-06 12:53:39 +02:00
2017-07-05 11:48:45 +02:00
2017-07-05 11:48:45 +02:00