Merge lp:~openerp-dev/openobject-addons/trunk-fix-project-kanban-chm into lp:openobject-addons

Proposed by Christophe Matthieu (OpenERP)
Status: Work in progress
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-fix-project-kanban-chm
Merge into: lp:openobject-addons
Diff against target: 13 lines (+2/-1)
1 file modified
project/project.py (+2/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-fix-project-kanban-chm
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+160892@code.launchpad.net
To post a comment you must log in.

Unmerged revisions

8690. By Christophe Matthieu (OpenERP)

[FIX] project task: don't display all column of task for kanban view

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'project/project.py'
2--- project/project.py 2013-04-15 08:43:02 +0000
3+++ project/project.py 2013-04-25 13:10:49 +0000
4@@ -612,7 +612,8 @@
5 search_domain = []
6 project_id = self._resolve_project_id_from_context(cr, uid, context=context)
7 if project_id:
8- search_domain += [('project_ids', '=', project_id)]
9+ search_domain += ['|', ('project_ids', '=', project_id)]
10+ search_domain += [('id', 'in', ids)]
11 stage_ids = stage_obj._search(cr, uid, search_domain, order=order, access_rights_uid=access_rights_uid, context=context)
12 result = stage_obj.name_get(cr, access_rights_uid, stage_ids, context=context)
13 # restore order of the search

Subscribers

People subscribed via source and target branches

to all changes: