diff options
| author | Sanjay Gohel (Open ERP) <sgo@tinyerp.com> | 2012-08-06 10:59:04 +0530 |
|---|---|---|
| committer | Sanjay Gohel (Open ERP) <sgo@tinyerp.com> | 2012-08-06 10:59:04 +0530 |
| commit | 1da7ac2448a5e29bb43994286d3fbb8d90576d54 (patch) | |
| tree | 8ab1d94b6ae2a16ee12c67543b3dc12dc1735ea6 /addons/project_issue/static/src/js/project_issue.js | |
| parent | 6a7ac6ac3507a86ae8d97ea37bea3f44a2b12f70 (diff) | |
| parent | 0d2d7ee5855ecbd463ccc6fd902f3af54c504410 (diff) | |
[MERGE]merge with lp:openobject-addons
bzr revid: sgo@tinyerp.com-20120806052904-qh31j7lk0gjmexvo
Diffstat (limited to 'addons/project_issue/static/src/js/project_issue.js')
| -rw-r--r-- | addons/project_issue/static/src/js/project_issue.js | 13 |
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(); + } + } + }); +}; |
