summaryrefslogtreecommitdiff
path: root/addons/project_issue/static
diff options
context:
space:
mode:
authorAmit Patel (OpenERP) <apa@tinyerp.com>2012-08-01 12:34:25 +0530
committerAmit Patel (OpenERP) <apa@tinyerp.com>2012-08-01 12:34:25 +0530
commit522a3edc19c7446c723d1b3e4cb4c19c89a36fa4 (patch)
tree4eedd0276ee76e89c9cced59507bea4ff987874b /addons/project_issue/static
parent6e5d18a9332c3115b1eac5cd64d022545c56b987 (diff)
parente845e2350c694484793020ab6a9a729f9c205de6 (diff)
[MERGE]:merged with trunk
bzr revid: apa@tinyerp.com-20120801070425-ydyx8nc2ngi3j0zi
Diffstat (limited to 'addons/project_issue/static')
-rw-r--r--addons/project_issue/static/src/js/project_issue.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/addons/project_issue/static/src/js/project_issue.js b/addons/project_issue/static/src/js/project_issue.js
new file mode 100644
index 00000000000..24e5ff7cc49
--- /dev/null
+++ b/addons/project_issue/static/src/js/project_issue.js
@@ -0,0 +1,13 @@
+openerp.portal_project_issue = function(openerp) {
+ openerp.web_kanban.KanbanView.include({
+ on_groups_started: function() {
+ var self = this;
+ self._super.apply(this, arguments);
+
+ if (self.dataset.model === 'project.issue') {
+ // Load project's categories names from m2m field
+ self.project_display_categ_names();
+ }
+ }
+ });
+};