when file uploading is failed that time file uploading state does not change. sentry - 3957419658 closes odoo/odoo#120818 X-original-commit: https://github.com/odoo/odoo/commit/1493ec2fedf7070882f3497f214f39c862432a2b Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>