Paramjit Singh Sahota(OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-1048952-psa into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #1048952 in OpenERP Web: "no category on kanban view for issue"
  https://bugs.launchpad.net/openerp-web/+bug/1048952

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1048952-psa/+merge/124656

Hello,
     
    I had fixed the issue where "No Category is displayed in Kanban View".
     

Thankz & Regardz,
 Paramjit (PSA)
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1048952-psa/+merge/124656
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-1048952-psa.
=== modified file 'project/static/src/js/project.js'
--- project/static/src/js/project.js	2012-08-24 18:27:43 +0000
+++ project/static/src/js/project.js	2012-09-17 11:42:18 +0000
@@ -67,6 +67,10 @@
             } else {
                 this._super.apply(this, arguments);
             }
+        },
+        bind_events: function() {
+            this._super();
+            this.view.project_display_categ_names();
         }
     });
 };

=== modified file 'project_issue/static/src/js/project_issue.js'
--- project_issue/static/src/js/project_issue.js	2012-07-12 11:33:26 +0000
+++ project_issue/static/src/js/project_issue.js	2012-09-17 11:42:18 +0000
@@ -1,4 +1,4 @@
-openerp.portal_project_issue = function(openerp) {
+openerp.project_issue = function(openerp) {
     openerp.web_kanban.KanbanView.include({
         on_groups_started: function() {
             var self = this;
@@ -8,6 +8,11 @@
                 // Load project's categories names from m2m field
                 self.project_display_categ_names();
             }
+        },
+        //Display Category names from m2m field.
+        display_categ_names: function() {
+            this._super();
+            this.view.project_display_categ_names();
         }
     });
 };

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to