Before this commit, changing a filter in the dynamic snippet could cause errors because the option wasn't awaiting an asynchronous call. This commit fixes that by using the same mechanism used in the s_website_form snippet, relegating the rerenderXML call to updateUI task-2654924 closes odoo/odoo#80867 X-original-commit: 8a4391a7d6e6988da7b62f6caa91e49c831da774 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>