Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] web_editor: force widget with reload to no-preview
This commit resolves the issue that arises when a widget contains a reload attribute but lacks a no-preview attribute. That config leads to an "Uncaught Promise" error. With this update, when a reload attribute is detected, the no-preview attribute is now automatically added, preventing the error from occurring. The problem occurs since [1]. Steps to reproduce: - Go to website - Edit - Click on the header - In the navbar options, change the Mobile Alignment option. => Works but traceback anyway. [1]: odoo@fcb16a3 task-3572334 closes odoo#139909 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
- Loading branch information