Skip to content
Snippets Groups Projects
Commit 550d7145 authored by Siddarth Gajjar's avatar Siddarth Gajjar Committed by Romain Derie
Browse files

[FIX] website: prevent error on edit mode save for restricted editor


- Before this commit, When user with restricted rights
tries to edit frontend page and without changing anything click
on save button generate traceback due to invalid return type.

- After this commit, On hitting save button on restrict mode resolve
the traceback by changing function return type to promise.

task-2379101

closes odoo/odoo#66357

Signed-off-by: default avatarRomain Derie (rde) <rde@odoo.com>
parent 181d6905
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment