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: properly await all async parts for onRemove
Even though onRemove cannot be async itself (yet?), it is however still called via a trigger_up of `call_for_each_child_snippet` so that each part of the snippet being removed has their onRemove called. Doing that way, some SnippetEditor instances may have to be created and it can be an async operation... the problem is that our code was only awaiting the first of those instanciations instead of all of them. closes odoo#76829 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
- Loading branch information