Friday, April 14, 2023
2 changes · master
Resolved issues and error corrections
Odoo now safely ignores link preview notifications for messages that have not been loaded yet. This prevents a crash in Discuss or mail flows and lets the preview data arrive normally when the message is fetched later.
Original PR description
This notification makes sense when we know this message. If we don't know it yet, then we should just ignore and receive data of link preview when fetching the message.
Opening dynamic placeholder popovers no longer causes an error. This improves reliability for users working with text fields that use dynamic placeholders.
Original PR description
[FIX] web: fix traceback in useDynamicPlaceholder **Before this commit** Since https://github.com/odoo/odoo/commit/394f85c954fabc4d5cf7c715c75298bb89bb165f anytime this hook opens a popover, a traceback occurs. It is due to the fact this hook passes a callback as a getter-only property to the usePopover hook options. The traceback occur because the usePopover hook has to reassign this option (onClose callback). **After this commit** Fixed and tested.