From 08dc983f36468985a8fe4ab2d9ea3d1f91328e74 Mon Sep 17 00:00:00 2001 From: msh-openerp Date: Mon, 28 May 2012 10:22:45 +0530 Subject: [PATCH 1/2] [FIX]Fixed the issue of graph view, wehre same field were pushed two times in list view, like in graph view code we have created grouping on some field and now again from search view we are making grouping on same field so this field were added two times in list_field and results in no group records. bzr revid: msh@tinyerp.com-20120528045245-tfq5qwaiwfo7pd26 --- addons/web_graph/static/src/js/graph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web_graph/static/src/js/graph.js b/addons/web_graph/static/src/js/graph.js index b7b6063189f..797e2a0da04 100644 --- a/addons/web_graph/static/src/js/graph.js +++ b/addons/web_graph/static/src/js/graph.js @@ -67,7 +67,7 @@ openerp.web_graph.GraphView = openerp.web.View.extend({ list_fields: function () { var fs = [this.abscissa]; fs.push.apply(fs, _(this.columns).pluck('name')); - if (this.group_field) { + if (this.group_field && this.group_field != this.abscissa) { fs.push(this.group_field); } return fs; From 0777583ac9534dcdc050b58bde7d2caa3c79c5fd Mon Sep 17 00:00:00 2001 From: msh-openerp Date: Tue, 29 May 2012 13:10:17 +0530 Subject: [PATCH 2/2] [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"); }); }