diff options
| author | Antonin Bourguignon <abo@openerp.com> | 2012-07-31 15:35:08 +0200 |
|---|---|---|
| committer | Antonin Bourguignon <abo@openerp.com> | 2012-07-31 15:35:08 +0200 |
| commit | 2e0ab8a6a178e8fd90e047b67af7e63a1743a2ff (patch) | |
| tree | 47bc85f52500fa25c45dbcb781416988a6b80c25 /addons/project_issue/static/src/js | |
| parent | 163a8b629ed417743e632543eb21e6772389a461 (diff) | |
| parent | f76a672ba467a6a51727b5a36618a0db07945cf2 (diff) | |
[MERGE] trunk-portal_public_layout-abo (improve portal views, access rights and ir rules)
bzr revid: abo@openerp.com-20120731133508-n2xr4jf1jm4j51ep
Diffstat (limited to 'addons/project_issue/static/src/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(); + } + } + }); +}; |
