Hardik Ansodariya (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/6.0-opw-383477-han into
lp:openobject-addons/6.0.
Requested reviews:
Naresh(OpenERP) (nch-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-383477-han/+merge/92209
Hello,
I have fixed the issue when we save the record, the users displayed in the
planning per user list is not correct. It's not the users which are under the
responsible but seems to be random users in project_planning.
Thanks,
Hardik
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw-383477-han/+merge/92209
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.0-opw-383477-han.
=== modified file 'project_planning/project_planning.py'
--- project_planning/project_planning.py 2012-02-06 10:08:44 +0000
+++ project_planning/project_planning.py 2012-02-09 05:30:25 +0000
@@ -75,7 +75,7 @@
children = self.emp_to_users(cr, uid, emp_children, context=context)
children = obj_user.search(cr, uid, [('id', 'in', children),('active', '=', True)], context=context)
if user_id in children:
- children.remove(user_id)
+ children.pop(user_id)
child_ids.extend(tools.flatten(children))
set = {}
map(set.__setitem__, child_ids, [])
_______________________________________________
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