Nimesh Contractor(Open ERP) has proposed merging lp:~openerp-dev/openobject-addons/trunk-bug-1104155-nco into lp:openobject-addons.
Requested reviews: OpenERP Core Team (openerp) Amit Patel (OpenERP) (apa-tiny) Related bugs: Bug #1104155 in OpenERP Addons: "[trunk/7.0] task - kanban - must show all possible states" https://bugs.launchpad.net/openobject-addons/+bug/1104155 For more details, see: https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1104155-nco/+merge/146355 Hello, Remove search domain to show empty stages, and easily moving a task to the next stage. Thanks, Nimesh. -- https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1104155-nco/+merge/146355 Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-bug-1104155-nco.
=== modified file 'project/project.py' --- project/project.py 2013-01-15 10:03:53 +0000 +++ project/project.py 2013-02-04 08:45:44 +0000 @@ -605,8 +605,7 @@ search_domain = [] project_id = self._resolve_project_id_from_context(cr, uid, context=context) if project_id: - search_domain += ['|', ('project_ids', '=', project_id)] - search_domain += [('id', 'in', ids)] + search_domain += [('project_ids', '=', project_id)] stage_ids = stage_obj._search(cr, uid, search_domain, order=order, access_rights_uid=access_rights_uid, context=context) result = stage_obj.name_get(cr, access_rights_uid, stage_ids, context=context) # restore order of the search
_______________________________________________ Mailing list: https://launchpad.net/~openerp-dev-gtk Post to : openerp-dev-gtk@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-dev-gtk More help : https://help.launchpad.net/ListHelp