Romain Derie
0e0a74f8c5
[FIX] web_editor: disable delay translation until a deeper fix is done
...
The delay translation feature [1], when the website main language is not
English, is not working alongside the HTML Editor.
There seems to be multiple bugs, both in Odoo 16 and Odoo 17 following
jsonb and then delay translation.
A full investigation will need to be done (and tests written for it) for
all possible flows:
1. English DB + Website FR (only)
2. English DB + Website FR (main lang) + Website EN (translated version)
3. French DB + French Website (English is not even enabled on DB)
4. French DB + English website
5. Case 3. + Website EN (translated version)
6. Case 4. + Website FR (translated version)
Also, for each of those flows:
- both the website builder and the HTML Editor need to behaves correctly
(at least not wipe user content).
- both the Odoo records (xml views eg) and user records (new website
page eg) need to behaves correctly.
This commit, for now, disables the delay translation to restore what we
have in Odoo 16.
The whole investigation, fixes and tests will be done after this commit
in both Odoo 16 and Odoo 17.
Step to reproduce (one of the flow, which is problematic for one of our
big client to go in production):
- Have DB and admin in English
- Have FR only on the website
- Enter edit mode on a page (website builder)
- Drag & drop a snippet and save
- Open HTML Editor, add a blank line
- The page content is gone, user lost its page
------- Technical Details about above case ------------
In Odoo 16, before delay translation, in such a setup (FR only on
website), when modifying the html editor, it would have the same effect
as modifying the page content in the builder, because the English
version (not used because website only use the fr translation) would
also receive the website builder changes, both EN and FR would actually
be sync'd in DB.
For this particular case, it kind of worked, but probably not for other
cases like adding english as translation lang on the website where this
lang sync would not make sense.
This "urgent" fix/feature disabling is done because people are unable to
create or maintain website when they use the HTML Editor. Worst, they
lose all their work again and again.
Indeed, it's not yet sure how but module update also wipe user changes
in such configuration in Odoo 17.
All this is based on feedback of our "PS tech" which is unable to go in
production because of those bugs.
-------------------------------------------------------
Related to PR [2] which is the Odoo 17 forward port of commit [3]
introduced in Odoo 16.0.
[1]: https://github.com/odoo/odoo/commit/2d08f97c0778469b409fca23f2be5f5a98ce3df8
[2]: https://github.com/odoo/odoo/pull/144693
[3]: https://github.com/odoo/odoo/commit/f54aa6f58d494bca940a3e575d4092ee386d488c
task-3621753 (where the deep investigation and fixes will happen)
closes odoo/odoo#144760
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com >
2023-12-04 15:10:31 +00:00
..
2023-12-04 13:23:46 +00:00
2023-11-30 10:13:28 +00:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-04 11:58:12 +00:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-30 10:13:26 +00:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-30 18:38:02 +00:00
2023-11-30 05:17:40 +00:00
2023-12-04 13:23:44 +00:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-30 14:48:20 +00:00
2023-11-26 00:20:02 +01:00
2023-12-01 15:51:55 +00:00
2023-11-30 18:37:57 +00:00
2023-11-27 11:20:02 +00:00
2023-11-30 07:37:01 +00:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-27 11:20:05 +00:00
2023-11-22 07:43:08 +00:00
2023-11-22 10:23:41 +00:00
2023-11-28 21:20:52 +00:00
2023-11-17 00:54:07 +00:00
2023-12-02 00:42:53 +00:00
2023-11-28 21:20:49 +00:00
2023-12-04 08:51:53 +00:00
2023-11-29 22:42:37 +00:00
2023-11-24 06:53:37 +00:00
2023-11-28 04:16:53 +00:00
2023-12-04 11:58:24 +00:00
2023-12-01 19:25:32 +00:00
2023-11-20 01:14:03 +00:00
2023-11-30 10:13:24 +00:00
2023-12-04 11:58:20 +00:00
2023-11-30 14:48:15 +00:00
2023-11-30 14:48:15 +00:00
2023-11-22 10:23:50 +00:00
2023-12-01 14:23:42 +00:00
2023-11-20 03:46:47 +00:00
2023-11-24 06:53:36 +00:00
2023-11-22 03:24:33 +00:00
2023-11-20 14:13:59 +00:00
2023-11-16 10:19:44 +00:00
2023-11-22 07:43:08 +00:00
2023-11-25 04:36:00 +00:00
2023-11-30 07:37:15 +00:00
2023-11-27 11:20:05 +00:00
2023-11-27 11:20:08 +00:00
2023-12-04 13:23:39 +00:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-04 13:23:38 +00:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 15:23:20 +00:00
2023-12-03 00:18:54 +01:00
2023-12-04 13:23:37 +00:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-04 15:10:28 +00:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-30 07:37:08 +00:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-16 11:44:56 +00:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-04 11:58:15 +00:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-27 12:39:58 +00:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-12-04 13:23:35 +00:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-27 21:39:18 +00:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-30 10:13:30 +00:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-04 13:23:37 +00:00
2023-11-26 00:20:02 +01:00
2023-12-04 13:23:37 +00:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-04 15:10:29 +00:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-12-04 13:23:37 +00:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-27 08:39:49 +00:00
2023-11-27 09:51:12 +00:00
2023-11-25 04:36:04 +00:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-04 15:10:30 +00:00
2023-12-04 15:10:31 +00:00
2023-12-03 00:18:54 +01:00
2023-12-01 18:14:11 +00:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-28 21:21:04 +00:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-30 18:38:03 +00:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-11-28 21:20:56 +00:00
2023-12-04 11:58:13 +00:00
2023-11-26 00:20:02 +01:00
2023-12-03 00:18:54 +01:00
2023-11-26 00:20:02 +01:00
2023-11-26 00:20:02 +01:00