odoo/odoo#227484

Created by Kevin Gerard (kege)
Merged at 471dccdae733dc8d580013adb762e773c9b89225

Statuses:

label
odoo-dev:18.0-fix-runbot-error-231582-kege
head
6b41e1b919f4931f4ee7c0bdfe41fd71bea90b31
merged
1 year ago by Discuss, Sébastien Theys (seb)
odoo/odoo
18.0 #227484
saas-18.2 #230311
saas-18.3 #230342
saas-18.4 #230375
19.0 #230710
saas-19.1
saas-19.2
saas-19.3
saas-19.4
master #230711

[FIX] mail: fix runbot error 231582 (no web_save when manually saving)

This commit tries to solve runbot issues with mail html fields widget.

It seems clicking on the save button manually is not generating a call
to the backend. This could be due to the fact the button is not enabled
due to the data being invalid. Therefore using the clickSave util could
be useful in those situation since waiting that the button becomes
enabled.

This solution is not 100% sure to fix the issue in all cases but
manually disabling the button is creating the issue we can observe in
those runbots. There is a good chance it might work.

fixes-runbot-231582
fixes-runbot-233049


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr