Currently, traceback occurs when same attachments are sync with form view and bottom chatter and removed from chatter. So in this commit, on click of remove attachment dialog wait till the attachment id is removed from list of attachments. closes odoo/odoo#65093 Taskid: 2431478 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>