Monday, January 29, 2024
2 changes · 17.0
Resolved issues and error corrections
Fixed an issue where simply clicking inside a link in a saved document would incorrectly mark the editor as having unsaved changes, causing an unnecessary discard button to appear. The fix ensures that selecting text without actually editing it no longer triggers the dirty state.
Original PR description
Current behaviour before commit: In a saved pad, putting cursor inside a link without making any other changes makes editor dirty. This happens because `sanitize` method fails to sanitize the clone node of root editable element. As result discard button appears on top. Desired behaviour after commit: Now, `sanitize` method sanitizes the clone node of root editable element. Due to this, putting cursor inside a link without editing doesn't make editor dirty and discard button doesn't appear on top. task-3607361 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#143737
The website publishing feature in server actions was displaying incorrectly after a recent update, showing a checkbox without proper labels and organization. This fix properly organizes these fields so they display clearly and function as intended. This improves the user experience for administrators who manage website publishing automation.
Original PR description
Since the refactoring of base_automation, the 'website-publishing' option of server actions was broken; it did get included in the view but outside of a group node and without labels. The result was a floating checkbox which would trigger a label-less char field upon selection - not the clearest of UIs. This commit properly insert these fields into a group node. Note that since server actions can normally only be reached by going through technical menus, the fact that this section of view is now in a group_no_one-only section should not change anything functionally.