From b513fa7cf645c7554d4f4e2b28876572af96ccac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sat, 25 Apr 2015 22:27:14 +0200 Subject: [PATCH] [IMP] mis_builder: code cosmetics --- mis_builder/static/src/js/mis_builder.js | 4 ++-- mis_builder/static/src/xml/mis_widget.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mis_builder/static/src/js/mis_builder.js b/mis_builder/static/src/js/mis_builder.js index a9b7b1d2..fcd656f5 100644 --- a/mis_builder/static/src/js/mis_builder.js +++ b/mis_builder/static/src/js/mis_builder.js @@ -21,9 +21,9 @@ openerp.mis_builder = function(instance) { }); }, events: { - "click .open_account_move a": "go_to_move", + "click a.mis_builder_drilldown": "drilldown", }, - go_to_move : function(event) { + drilldown: function(event) { var val_c = JSON.parse($(event.target).data("val-c")); var val = JSON.parse($(event.target).data("val")); var period_id = JSON.parse($(event.target).data("period-id")); diff --git a/mis_builder/static/src/xml/mis_widget.xml b/mis_builder/static/src/xml/mis_widget.xml index a78f5c26..e6767152 100644 --- a/mis_builder/static/src/xml/mis_widget.xml +++ b/mis_builder/static/src/xml/mis_widget.xml @@ -25,7 +25,7 @@ - +