Aaron Bohy
11cc762d7a
[FIX] mail,project: remove chatter flickering
...
Before this commit, when a form view was re-rendered (e.g. when
switching to "edit" or "readonly" modes, when using the pager...),
the chatter briefly disappeared and then reappeared, which produced
a flickering. This has been introduced by the adaptation of the JS
codebase to owl 2 [1]: when the form view had to be re-rendered,
we reused the DOM element containing the chatter in the new
rendering (done in memory), which was thus detached from the DOM.
That element was re-inserted into the DOM later on, alongside the
rest of the newly rendered elements.
This commit fixes the issue by using a specific "hook" element when
rendering the form view, and replacing that hook by the actual
(unchanged) chatter container element when the rendering is done
and the DOM is patched.
This commit also removes unnecessary overrides in project:
- _renderNode was dead code, classname "oe_project_sharing_chatter"
no longer exists in the codebase since [2]
- _makeChatterContainerTarget replicated what was originally
already done in the mail FormRenderer (for appearently no valid
reason), so obviously, that override wasn't synchronized with
this fix.
[1] edd79ff560
[2] a28cc6333a
closes odoo/odoo#84429
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com >
2022-02-11 18:19:57 +00:00
..
2022-02-11 14:10:59 +00:00
2022-02-03 09:03:13 +00:00
2022-02-04 13:06:58 +00:00
2022-01-05 11:36:06 +00:00
2022-02-08 11:07:54 +00:00
2022-02-01 09:54:08 +00:00
2022-02-08 11:07:54 +00:00
2021-12-08 16:28:53 +00:00
2022-01-28 14:10:01 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-11-08 09:25:47 +00:00
2021-11-23 11:12:14 +00:00
2021-09-02 14:15:12 +00:00
2021-07-26 13:09:57 +00:00
2022-01-28 14:10:01 +00:00
2021-09-16 07:17:40 +00:00
2021-09-16 07:17:40 +00:00
2021-07-26 13:09:57 +00:00
2022-02-08 14:53:36 +00:00
2021-11-26 09:44:58 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2022-02-08 14:53:36 +00:00
2022-02-01 17:15:30 +00:00
2021-11-22 14:48:04 +00:00
2022-02-01 17:15:30 +00:00
2021-09-16 07:17:40 +00:00
2022-02-07 14:18:00 +00:00
2022-02-07 14:17:59 +00:00
2022-01-25 17:21:04 +00:00
2022-02-10 07:46:13 +00:00
2021-12-07 13:48:53 +00:00
2021-07-26 13:09:57 +00:00
2022-02-10 07:46:13 +00:00
2021-12-14 12:39:54 +00:00
2022-02-08 11:07:45 +00:00
2021-07-26 13:09:57 +00:00
2021-12-07 13:48:53 +00:00
2022-02-10 07:46:13 +00:00
2022-02-10 07:46:13 +00:00
2022-02-10 07:46:13 +00:00
2021-12-16 09:00:19 +00:00
2021-09-16 07:17:40 +00:00
2022-02-08 14:54:02 +00:00
2022-02-10 07:46:13 +00:00
2022-02-08 14:53:36 +00:00
2022-01-28 14:10:01 +00:00
2021-12-15 00:10:51 +00:00
2021-12-14 12:39:54 +00:00
2021-09-16 07:17:40 +00:00
2022-02-11 09:47:50 +00:00
2021-12-02 12:12:01 +01:00
2022-02-02 11:46:52 +00:00
2021-12-08 09:35:03 +00:00
2022-01-28 14:10:01 +00:00
2021-12-16 17:33:47 +00:00
2022-02-01 15:32:26 +00:00
2021-12-24 14:57:02 +00:00
2021-07-26 13:09:57 +00:00
2022-02-10 07:46:13 +00:00
2021-12-16 17:33:47 +00:00
2022-02-01 15:32:16 +00:00
2022-02-01 15:32:16 +00:00
2022-01-13 09:30:56 +00:00
2022-01-19 16:52:23 +00:00
2021-07-26 13:09:57 +00:00
2021-10-11 10:15:49 +00:00
2022-01-27 09:12:50 +00:00
2022-02-02 18:14:54 +00:00
2022-02-10 07:46:13 +00:00
2022-02-01 15:32:16 +00:00
2021-11-22 14:48:04 +00:00
2022-02-10 07:46:13 +00:00
2022-02-03 08:09:31 +00:00
2022-02-08 14:53:36 +00:00
2022-02-07 19:03:42 +00:00
2022-02-08 14:53:36 +00:00
2022-01-20 16:08:22 +00:00
2021-07-26 13:09:57 +00:00
2022-02-11 11:40:07 +00:00
2021-12-07 13:48:53 +00:00
2021-12-14 19:13:18 +00:00
2021-12-09 16:14:43 +00:00
2021-12-07 13:48:53 +00:00
2022-02-10 07:46:13 +00:00
2021-12-25 02:26:44 +00:00
2022-02-09 10:52:35 +00:00
2021-12-15 12:07:26 +00:00
2021-07-26 13:09:57 +00:00
2022-02-08 12:05:53 +00:00
2021-09-16 07:17:40 +00:00
2022-01-03 18:11:19 +00:00
2022-01-26 15:59:03 +00:00
2022-02-02 18:14:54 +00:00
2022-02-03 08:09:31 +00:00
2022-02-08 12:05:54 +00:00
2021-07-26 13:09:57 +00:00
2021-10-07 17:59:52 +00:00
2022-02-10 07:46:13 +00:00
2021-10-19 15:58:58 +00:00
2022-01-21 15:03:57 +00:00
2022-02-10 07:46:13 +00:00
2021-07-26 13:09:57 +00:00
2021-11-25 00:31:17 +00:00
2021-12-08 11:17:22 +00:00
2022-02-10 22:53:03 +00:00
2021-07-26 13:09:57 +00:00
2021-11-25 00:31:17 +00:00
2022-01-27 16:17:10 +00:00
2022-01-13 14:35:57 +00:00
2022-01-18 08:18:06 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2021-10-01 12:40:54 +00:00
2022-02-04 19:44:38 +00:00
2022-02-08 12:05:53 +00:00
2022-02-03 15:21:28 +00:00
2022-01-25 17:21:04 +00:00
2022-01-25 17:21:04 +00:00
2022-01-27 21:50:25 +00:00
2021-10-01 12:40:54 +00:00
2022-02-03 15:21:28 +00:00
2021-11-25 00:31:17 +00:00
2021-10-01 12:40:54 +00:00
2021-10-01 12:40:54 +00:00
2021-12-18 21:00:49 +00:00
2021-10-28 08:33:17 +00:00
2021-10-28 08:33:17 +00:00
2021-10-28 08:33:17 +00:00
2021-10-28 08:33:17 +00:00
2022-02-04 18:48:45 +00:00
2021-11-25 00:31:17 +00:00
2021-07-26 13:09:57 +00:00
2022-01-18 16:17:43 +00:00
2022-02-11 11:40:01 +00:00
2022-02-01 09:54:08 +00:00
2021-11-25 00:31:17 +00:00
2021-09-27 16:56:27 +00:00
2021-11-25 00:31:17 +00:00
2022-01-31 13:58:03 +00:00
2022-02-08 19:11:25 +00:00
2022-01-27 21:50:25 +00:00
2021-12-17 21:59:10 +00:00
2022-01-11 13:34:56 +00:00
2021-07-26 13:09:57 +00:00
2021-11-25 00:31:17 +00:00
2021-10-01 12:40:54 +00:00
2021-07-26 13:09:57 +00:00
2021-10-01 12:40:54 +00:00
2022-02-03 15:21:28 +00:00
2021-11-25 00:31:17 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-09-16 07:17:40 +00:00
2021-11-25 00:31:17 +00:00
2022-02-08 14:53:55 +00:00
2022-01-27 21:50:25 +00:00
2021-08-03 17:58:58 +00:00
2021-07-26 13:09:57 +00:00
2021-12-14 14:47:25 +00:00
2021-07-26 13:09:57 +00:00
2022-02-08 14:53:55 +00:00
2021-11-25 00:31:17 +00:00
2022-02-08 11:07:54 +00:00
2022-01-20 22:05:06 +00:00
2022-01-14 14:49:57 +00:00
2021-11-25 00:31:17 +00:00
2022-01-28 14:10:01 +00:00
2022-01-28 14:10:01 +00:00
2022-01-25 19:06:59 +00:00
2022-02-09 09:08:20 +00:00
2021-11-25 00:31:17 +00:00
2021-10-01 12:40:54 +00:00
2022-01-12 10:17:47 +00:00
2022-01-25 19:07:03 +00:00
2022-01-25 17:21:04 +00:00
2021-12-14 10:00:41 +00:00
2021-11-25 00:31:17 +00:00
2021-11-22 14:48:04 +00:00
2021-11-25 00:31:17 +00:00
2021-10-01 12:40:54 +00:00
2022-01-25 17:21:04 +00:00
2021-12-22 00:12:52 +00:00
2022-02-03 15:21:28 +00:00
2022-02-09 23:05:23 +00:00
2022-02-03 15:21:28 +00:00
2021-11-25 00:31:17 +00:00
2022-01-05 23:05:43 +00:00
2022-01-27 21:50:25 +00:00
2022-01-21 11:25:59 +00:00
2021-11-25 00:31:17 +00:00
2022-02-03 15:21:28 +00:00
2022-02-03 15:21:28 +00:00
2021-10-01 12:40:54 +00:00
2021-11-25 00:31:17 +00:00
2022-01-25 18:14:59 +00:00
2022-02-03 15:21:28 +00:00
2021-11-25 00:31:17 +00:00
2021-07-26 13:09:57 +00:00
2021-11-25 00:31:17 +00:00
2021-10-01 12:40:54 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2021-12-14 09:11:15 +00:00
2022-02-10 07:46:13 +00:00
2022-02-11 18:19:57 +00:00
2021-12-15 00:10:51 +00:00
2021-12-21 09:49:38 +00:00
2022-01-31 17:47:30 +00:00
2021-12-14 19:13:18 +00:00
2022-02-02 09:03:44 +00:00
2022-02-11 16:42:47 +00:00
2021-12-07 13:48:53 +00:00
2021-09-07 18:08:03 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2021-10-14 09:28:09 +00:00
2021-07-26 13:09:57 +00:00
2022-01-06 11:45:23 +00:00
2021-09-16 07:17:40 +00:00
2021-10-22 11:09:16 +00:00
2022-01-28 14:10:01 +00:00
2021-10-11 10:15:49 +00:00
2021-07-26 13:09:57 +00:00
2022-02-10 16:35:40 +00:00
2022-02-11 11:40:19 +00:00
2022-01-19 16:03:53 +00:00
2021-07-26 13:09:57 +00:00
2021-12-07 16:20:05 +00:00
2022-01-11 15:24:11 +00:00
2022-02-01 18:06:50 +00:00
2021-12-07 16:20:05 +00:00
2021-12-07 16:20:06 +00:00
2021-12-07 16:20:06 +00:00
2022-02-08 11:08:05 +00:00
2022-02-01 09:54:08 +00:00
2022-02-08 12:05:53 +00:00
2022-02-11 11:40:23 +00:00
2022-02-11 11:40:23 +00:00
2022-02-07 16:22:54 +00:00
2022-02-11 11:40:23 +00:00
2022-02-11 11:40:23 +00:00
2022-02-11 11:40:23 +00:00
2022-02-11 11:40:23 +00:00
2022-02-02 19:50:49 +00:00
2022-02-11 11:40:23 +00:00
2022-02-11 11:40:23 +00:00
2022-02-11 11:40:23 +00:00
2022-02-02 19:50:49 +00:00
2022-02-02 19:50:49 +00:00
2021-09-16 07:17:40 +00:00
2022-02-11 11:40:12 +00:00
2022-01-31 17:47:34 +00:00
2021-11-22 14:48:04 +00:00
2022-01-27 21:50:25 +00:00
2022-01-27 21:50:25 +00:00
2022-02-10 07:46:13 +00:00
2022-02-10 07:46:13 +00:00
2022-01-27 21:50:25 +00:00
2022-02-04 15:26:37 +00:00
2022-02-10 07:46:13 +00:00
2022-02-10 07:46:13 +00:00
2022-02-10 07:46:13 +00:00
2022-02-11 11:40:12 +00:00
2022-01-27 21:50:25 +00:00
2022-02-11 11:40:12 +00:00
2022-02-10 07:46:13 +00:00
2022-01-27 21:50:25 +00:00
2022-02-10 11:41:55 +00:00
2021-09-07 15:50:00 +00:00
2022-01-31 12:06:05 +00:00
2021-09-16 07:17:40 +00:00
2022-01-19 16:52:23 +00:00
2021-09-16 07:17:40 +00:00
2022-02-11 18:19:57 +00:00
2022-01-04 17:03:10 +00:00
2021-12-14 12:39:54 +00:00
2022-01-04 17:03:10 +00:00
2022-01-04 17:03:10 +00:00
2022-02-11 11:40:07 +00:00
2022-02-08 14:53:36 +00:00
2022-01-10 14:49:52 +00:00
2021-11-24 16:33:01 +00:00
2022-02-02 09:03:44 +00:00
2021-10-27 15:48:51 +00:00
2021-09-16 07:17:40 +00:00
2022-02-07 15:25:07 +00:00
2022-01-05 13:58:01 +01:00
2022-01-28 14:10:01 +00:00
2022-02-01 14:37:37 +00:00
2022-02-10 07:46:13 +00:00
2022-02-10 13:30:44 +00:00
2021-07-26 13:09:57 +00:00
2021-12-14 14:47:25 +00:00
2022-02-04 10:23:43 +00:00
2021-12-02 12:12:03 +01:00
2022-02-08 14:53:36 +00:00
2021-12-02 12:12:03 +01:00
2022-02-07 16:22:54 +00:00
2022-02-08 14:53:38 +00:00
2021-12-02 12:12:03 +01:00
2022-01-31 19:25:47 +00:00
2021-11-23 11:12:14 +00:00
2022-01-28 14:10:01 +00:00
2021-10-15 14:58:53 +00:00
2022-01-14 17:29:35 +00:00
2021-07-26 13:09:57 +00:00
2022-02-07 16:22:54 +00:00
2021-11-08 07:59:42 +00:00
2022-02-02 21:49:05 +00:00
2021-11-29 14:55:35 +00:00
2022-02-01 14:37:54 +00:00
2022-02-10 07:46:13 +00:00
2022-02-10 07:46:13 +00:00
2021-10-29 16:05:23 +00:00
2021-07-26 13:09:57 +00:00
2022-02-11 10:44:12 +00:00
2022-02-03 09:56:03 +00:00
2021-12-07 16:20:06 +00:00
2021-12-14 19:13:18 +00:00
2022-02-02 11:46:53 +00:00
2021-10-05 16:54:21 +00:00
2022-02-11 11:40:28 +00:00
2022-01-19 16:52:23 +00:00
2022-02-02 18:14:54 +00:00
2022-02-02 18:14:54 +00:00
2022-02-02 18:14:54 +00:00
2022-02-10 13:30:51 +00:00
2022-02-02 18:14:54 +00:00
2022-01-20 15:11:50 +00:00
2022-01-17 16:56:01 +00:00
2021-09-30 17:12:12 +00:00
2021-11-30 15:21:47 +00:00
2022-01-17 06:42:47 +00:00
2021-09-30 17:12:12 +00:00
2021-09-16 07:17:40 +00:00
2022-01-31 12:06:04 +00:00
2022-01-20 10:06:47 +00:00
2022-02-11 13:21:02 +00:00
2022-02-11 15:04:48 +00:00
2021-09-16 07:17:40 +00:00
2022-02-10 07:46:13 +00:00
2022-01-22 11:51:42 +00:00
2022-02-11 16:42:47 +00:00
2022-01-31 23:51:00 +00:00
2022-02-08 14:53:39 +00:00
2022-02-01 09:54:08 +00:00
2021-07-26 13:09:57 +00:00
2022-01-31 17:47:32 +00:00
2021-07-26 13:09:57 +00:00
2021-10-15 14:58:53 +00:00
2022-02-07 23:11:51 +00:00
2021-12-07 13:48:53 +00:00
2021-10-04 15:30:26 +00:00
2021-12-07 13:48:53 +00:00
2021-09-16 07:17:40 +00:00
2021-07-26 13:09:57 +00:00
2021-07-26 13:09:57 +00:00
2022-02-08 14:53:37 +00:00
2022-02-08 14:53:37 +00:00
2022-02-08 14:53:37 +00:00
2021-09-16 07:17:40 +00:00
2021-12-16 17:33:48 +00:00
2022-02-07 15:24:54 +00:00
2022-02-08 14:53:38 +00:00
2021-12-07 13:48:53 +00:00
2021-07-26 13:09:57 +00:00
2021-09-16 07:17:40 +00:00
2021-09-18 05:42:55 +00:00
2022-02-10 07:46:12 +00:00
2021-07-26 13:09:57 +00:00
2022-02-08 12:05:53 +00:00
2022-02-08 14:53:37 +00:00
2021-10-04 14:12:26 +00:00
2022-02-08 14:53:39 +00:00
2021-07-26 13:09:57 +00:00
2021-07-12 10:57:37 +00:00
2021-09-16 07:17:40 +00:00
2021-12-20 19:16:55 +00:00
2021-07-26 13:09:57 +00:00
2021-10-15 14:58:53 +00:00
2022-02-08 14:53:39 +00:00
2022-02-08 14:53:39 +00:00
2022-02-08 14:53:39 +00:00
2022-01-22 11:51:42 +00:00
2022-02-08 14:53:39 +00:00
2021-12-07 13:48:53 +00:00
2021-08-20 06:22:21 +00:00
2021-11-25 13:28:51 +00:00
2021-07-26 13:09:57 +00:00
2021-12-17 12:51:49 +00:00
2021-12-02 12:12:01 +01:00
2022-01-28 11:27:42 +00:00
2021-09-07 15:50:01 +00:00
2022-02-08 14:53:38 +00:00
2022-02-08 18:20:53 +00:00
2022-02-08 14:53:39 +00:00
2021-08-09 14:13:58 +00:00
2021-12-23 15:30:23 +01:00
2021-12-07 13:48:53 +00:00
2022-02-10 07:46:12 +00:00
2021-12-07 13:48:53 +00:00
2021-12-14 19:13:18 +00:00
2021-07-26 13:09:57 +00:00
2022-02-08 14:53:39 +00:00