From 0777583ac9534dcdc050b58bde7d2caa3c79c5fd Mon Sep 17 00:00:00 2001 From: msh-openerp Date: Tue, 29 May 2012 13:10:17 +0530 Subject: [PATCH] [FIX]Fixed the issue of pad button not rendered when deletes a pad from the attachment area. bzr revid: msh@tinyerp.com-20120529074017-6woyh00mz8fl18v0 --- addons/web/static/src/js/view_form.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index 123af3a6050..4a0ccfbb6a5 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -802,6 +802,7 @@ openerp.web.form.SidebarAttachments = openerp.web.OldWidget.extend({ ids: [parseInt($e.attr('data-id'))] }, function(r) { $e.parent().remove(); + self.do_update() self.do_notify("Delete an attachment", "The attachment '" + name + "' has been deleted"); }); }