[IMP] refactor the handling of many2many tags in issues and tasks kanban views
[odoo/odoo.git] / addons / project_issue / static / src / js / project_issue.js
1 openerp.portal_project_issue = function(openerp) {
2     openerp.web_kanban.KanbanView.include({
3         on_groups_started: function() {
4             var self = this;
5             self._super.apply(this, arguments);
6
7             if (self.dataset.model === 'project.issue') {
8                 // Load project's categories names from m2m field
9                 self.project_display_categ_names();
10             }
11         }
12     });
13 };