Antoine Guenet
41e98ccbe4
[FIX] web_editor: check/uncheck checkboxes in readonly fields
...
When a checklist is present in an html field, there is a feature that
allows us to check/uncheck its boxes without going through edit mode.
That feature was broken due to a dead callback in wysiwyg.js, which is
hereby restored.
Meanwhile, the behaviour of checklists had changed but the python code
handling the readonly checking/unchecking hadn't so this brings it up to
date[1].
Finally, the code managing checklist ids was unnecessarily complicated
as it was trying to keep the ids consecutive for no particular reason.
This refactors it to simply use unique ids based on date stamps.
[1] It used to be that checking a box checked all the children of that
box but it was in the meantime decided not to do that anymore.
Part-of: odoo/odoo#81920
2022-01-14 10:21:30 +00:00
..
2022-01-12 16:43:16 +00:00
2021-12-14 19:13:18 +00:00
2021-11-10 06:49:58 +00:00
2022-01-05 11:36:06 +00:00
2021-12-24 13:11:50 +00:00
2021-11-22 14:48:04 +00:00
2022-01-10 19:28:36 +00:00
2021-12-08 16:28:53 +00:00
2021-12-02 13:43:19 +00:00
2021-11-08 09:25:47 +00:00
2021-11-23 11:12:14 +00:00
2021-12-24 17:10:42 +00:00
2021-12-08 11:17:22 +00:00
2021-11-26 09:44:58 +00:00
2021-11-10 09:58:09 +00:00
2021-11-12 18:07:15 +00:00
2021-11-22 14:48:04 +00:00
2021-11-22 14:48:04 +00:00
2021-12-08 11:17:22 +00:00
2021-12-14 19:13:18 +00:00
2022-01-12 13:10:57 +00:00
2021-12-07 13:48:53 +00:00
2021-11-22 14:48:04 +00:00
2021-12-14 12:39:54 +00:00
2021-10-28 09:17:34 +00:00
2021-12-07 13:48:53 +00:00
2021-12-13 12:24:50 +00:00
2022-01-04 10:26:10 +00:00
2022-01-11 08:36:45 +00:00
2021-12-16 09:00:19 +00:00
2021-12-14 19:13:18 +00:00
2021-12-24 14:57:03 +00:00
2021-12-07 13:48:53 +00:00
2021-10-19 15:58:58 +00:00
2021-12-15 00:10:51 +00:00
2021-12-14 12:39:54 +00:00
2022-01-07 19:54:40 +00:00
2021-12-02 12:12:01 +01:00
2021-12-08 09:35:03 +00:00
2021-12-17 11:04:53 +00:00
2021-12-16 17:33:47 +00:00
2022-01-12 16:43:37 +00:00
2021-12-24 14:57:02 +00:00
2022-01-12 16:43:37 +00:00
2021-12-16 17:33:47 +00:00
2022-01-12 07:44:06 +00:00
2022-01-13 09:30:56 +00:00
2021-12-07 13:48:53 +00:00
2021-12-17 10:10:49 +00:00
2021-11-22 14:48:04 +00:00
2022-01-12 08:33:00 +00:00
2022-01-07 07:26:53 +00:00
2021-12-21 07:17:57 +00:00
2022-01-03 18:11:18 +00:00
2022-01-11 16:18:49 +00:00
2021-12-14 19:13:18 +00:00
2022-01-12 15:49:12 +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-01-12 16:43:08 +00:00
2021-12-25 02:26:44 +00:00
2021-12-20 07:55:41 +00:00
2021-12-15 12:07:26 +00:00
2022-01-11 09:29:48 +00:00
2022-01-03 18:11:19 +00:00
2021-12-07 13:48:53 +00:00
2022-01-12 15:49:12 +00:00
2022-01-04 10:26:16 +00:00
2021-12-14 12:39:54 +00:00
2021-10-19 15:58:58 +00:00
2022-01-13 13:40:42 +00:00
2021-11-25 00:31:17 +00:00
2021-12-08 11:17:22 +00:00
2022-01-14 09:25:46 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2022-01-13 14:35:57 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2021-12-14 19:13:18 +00:00
2021-12-14 19:13:18 +00:00
2021-12-15 22:31:20 +00:00
2021-11-25 00:31:17 +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
2021-11-09 14:46:05 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2021-11-05 13:00:41 +00:00
2021-12-28 09:47:33 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2021-12-03 08:11:50 +00:00
2022-01-11 08:36:38 +00:00
2021-12-13 11:32:57 +00:00
2021-12-17 21:59:10 +00:00
2022-01-11 13:34:56 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2021-12-08 12:52:18 +00:00
2021-12-14 14:47:25 +00:00
2021-11-25 00:31:17 +00:00
2022-01-07 19:54:44 +00:00
2022-01-06 19:31:05 +00:00
2022-01-11 07:46:23 +00:00
2021-11-25 00:31:17 +00:00
2021-12-14 19:13:18 +00:00
2021-11-08 11:08:06 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2022-01-12 10:17:47 +00:00
2021-11-09 14:46:05 +00:00
2021-12-28 09:47:39 +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-12-06 11:21:47 +00:00
2021-12-22 00:12:52 +00:00
2021-11-25 00:31:17 +00:00
2021-11-29 08:06:24 +00:00
2021-12-15 22:31:20 +00:00
2021-11-25 00:31:17 +00:00
2022-01-05 23:05:43 +00:00
2021-12-20 10:49:49 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2021-12-15 22:31:20 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +00:00
2021-11-25 00:31:17 +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-01-11 16:18:54 +00:00
2022-01-13 19:04:53 +00:00
2021-12-15 00:10:51 +00:00
2021-12-21 09:49:38 +00:00
2021-12-24 09:52:42 +00:00
2021-12-14 19:13:18 +00:00
2022-01-12 18:24:48 +00:00
2022-01-14 09:25:42 +00:00
2021-12-07 13:48:53 +00:00
2022-01-06 11:45:23 +00:00
2021-10-22 11:09:16 +00:00
2021-12-14 19:13:18 +00:00
2021-11-25 15:19:49 +00:00
2022-01-11 15:24:11 +00:00
2021-11-22 14:48:04 +00:00
2021-12-07 16:20:05 +00:00
2022-01-11 15:24:11 +00:00
2021-12-22 17:55:49 +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
2021-10-19 14:43:42 +00:00
2022-01-10 08:46:27 +00:00
2022-01-06 08:35:07 +00:00
2021-11-29 15:40:54 +00:00
2022-01-10 13:52:57 +00:00
2021-11-29 15:40:54 +00:00
2021-12-23 09:37:12 +00:00
2021-12-02 12:55:38 +00:00
2021-11-29 15:40:54 +00:00
2021-11-29 15:40:54 +00:00
2021-11-29 15:40:54 +00:00
2021-11-29 15:40:54 +00:00
2021-11-29 15:40:54 +00:00
2021-11-29 15:40:54 +00:00
2022-01-12 16:43:16 +00:00
2021-12-24 14:56:56 +00:00
2021-11-22 14:48:04 +00:00
2021-11-22 14:48:04 +00:00
2021-12-03 14:19:06 +00:00
2022-01-11 11:21:04 +00:00
2021-12-07 19:27:40 +00:00
2021-11-15 11:22:40 +00:00
2021-12-21 08:55:44 +00:00
2021-11-22 14:48:04 +00:00
2022-01-08 01:11:39 +00:00
2021-12-08 11:17:22 +00:00
2021-12-17 11:58:44 +00:00
2022-01-12 17:33:59 +00:00
2021-12-07 16:20:05 +00:00
2022-01-12 15:49:31 +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
2021-12-14 19:13:18 +00:00
2022-01-06 19:30:49 +00:00
2022-01-10 14:49:52 +00:00
2021-11-24 16:33:01 +00:00
2021-12-14 19:13:18 +00:00
2021-10-27 15:48:51 +00:00
2022-01-10 14:49:52 +00:00
2022-01-05 13:58:01 +01:00
2022-01-11 15:24:11 +00:00
2022-01-12 16:43:24 +00:00
2022-01-13 15:30:03 +00:00
2021-12-23 15:30:23 +01:00
2021-12-14 14:47:25 +00:00
2021-12-02 12:12:01 +01:00
2021-12-02 12:12:03 +01:00
2022-01-11 15:26:55 +01:00
2021-12-02 12:12:03 +01:00
2021-12-30 09:27:29 +00:00
2021-12-23 15:30:23 +01:00
2021-12-02 12:12:03 +01:00
2022-01-11 15:26:55 +01:00
2021-11-23 11:12:14 +00:00
2021-12-23 15:30:24 +01:00
2021-12-23 15:30:23 +01:00
2022-01-12 14:55:11 +00:00
2021-11-08 07:59:42 +00:00
2022-01-12 13:11:00 +00:00
2021-11-29 14:55:35 +00:00
2021-12-21 20:20:50 +00:00
2022-01-05 12:50:16 +00:00
2022-01-05 12:50:16 +00:00
2021-10-29 16:05:23 +00:00
2022-01-12 15:49:20 +00:00
2022-01-11 17:08:54 +00:00
2021-12-07 16:20:06 +00:00
2021-12-14 19:13:18 +00:00
2022-01-13 09:30:52 +00:00
2022-01-04 12:06:49 +00:00
2021-11-19 19:36:49 +00:00
2021-12-24 14:57:02 +00:00
2021-12-29 16:55:47 +00:00
2021-12-21 20:20:50 +00:00
2022-01-06 19:30:53 +00:00
2021-11-16 16:58:36 +00:00
2021-12-22 15:45:53 +00:00
2022-01-12 11:19:04 +00:00
2021-11-30 15:21:47 +00:00
2021-12-07 13:48:53 +00:00
2021-12-07 13:48:53 +00:00
2022-01-14 07:47:08 +00:00
2022-01-14 10:21:30 +00:00
2021-11-24 18:38:02 +00:00
2022-01-13 17:23:58 +00:00
2022-01-12 14:55:03 +00:00
2021-12-07 13:48:53 +00:00
2021-10-29 16:05:23 +00:00
2021-12-24 14:57:03 +00:00
2022-01-12 14:55:03 +00:00
2021-12-07 13:48:53 +00:00
2021-12-07 13:48:53 +00:00
2022-01-10 13:52:27 +00:00
2022-01-10 13:52:27 +00:00
2021-12-16 17:33:48 +00:00
2022-01-04 08:47:00 +00:00
2022-01-10 13:52:27 +00:00
2021-12-07 13:48:53 +00:00
2022-01-12 14:55:03 +00:00
2021-12-29 16:55:47 +00:00
2021-12-20 19:16:55 +00:00
2021-12-17 12:51:49 +00:00
2021-12-20 11:39:03 +01:00
2022-01-12 16:43:37 +00:00
2021-12-07 13:48:53 +00:00
2021-11-25 13:28:51 +00:00
2021-12-17 12:51:49 +00:00
2021-12-02 12:12:01 +01:00
2021-11-16 13:03:03 +00:00
2021-12-07 13:48:53 +00:00
2021-12-23 15:30:23 +01:00
2021-12-23 15:30:23 +01:00
2021-12-07 13:48:53 +00:00
2022-01-12 14:55:03 +00:00
2021-12-07 13:48:53 +00:00
2021-12-14 19:13:18 +00:00
2021-12-14 19:13:18 +00:00