odoo/odoo#159559

Created by fw-bot
label
odoo-dev:saas-17.2-16.0-fix-room-creation-and-more-qsm-31D2-fw
head
434c6b7e6b7446ee8edde8266c14deb5a5a35e77
target
saas-17.2
merged
1 month ago by Website, Quentin Smetz (qsm)
forward-port of
odoo/odoo#159316

[FW][FIX] website_event_meet, *: properly await edit option before reload

*: website_sale

This is a follow-up of [1], which missed some occurrence of the same issue that it fixed.

E.g.
- Add a delay to the "write" of the event model
- Go to /event/<event_id>/community
- Enter edit mode
- Click on the page
- Enable the room creation option => The page reloads but nothing seems to have been done... it is
actually *being* done: the page reloaded too soon.

Note: this commit also marks some other occurrences which are not buggy but might be in the future if not properly changed. To be adapted in the master forward-port.

[1]: https://github.com/odoo/odoo/commit/556ae457b02e9c077d09fa9c3f9f1e6c6e26b345

Forward-Port-Of: odoo/odoo#159478
Forward-Port-Of: odoo/odoo#159316