Merge lp:~openerp-dev/openobject-addons/6.1-opw-574370-nep into lp:openobject-addons/6.1

Proposed by Nehal Panchal (OpenERP)
Status: Approved
Approved by: Naresh(OpenERP)
Approved revision: 6782
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-574370-nep
Merge into: lp:openobject-addons/6.1
Diff against target: 20 lines (+1/-2)
1 file modified
project_scrum/wizard/project_scrum_backlog_create_task.py (+1/-2)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-574370-nep
Reviewer Review Type Date Requested Status
Naresh(OpenERP) (community) Approve
Review via email: mp+104526@code.launchpad.net

Description of the change

Hello,

Error on converting Product Backlog to task when no user is specified.

This fixes the issue.

Thanks

To post a comment you must log in.
6782. By Nehal Panchal (OpenERP)

[FIX] project_scrum : Error on converting Product backlog to task when no user is specified

Revision history for this message
Naresh(OpenERP) (nch-openerp) :
review: Approve
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello,

This bug was qualified as Not Relevant on Trunk (means that architecture on trunk has changed and so this bug has no meaning anymore). as the project_scrum module has been dropped in v 7.0, If this Merge Proposal could not be merged in v6.1 at the release of v7.0, it will be closed.

Thanks,
Naresh soni

Unmerged revisions

6782. By Nehal Panchal (OpenERP)

[FIX] project_scrum : Error on converting Product backlog to task when no user is specified

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'project_scrum/wizard/project_scrum_backlog_create_task.py'
2--- project_scrum/wizard/project_scrum_backlog_create_task.py 2011-03-14 10:27:42 +0000
3+++ project_scrum/wizard/project_scrum_backlog_create_task.py 2012-05-03 11:37:20 +0000
4@@ -35,7 +35,6 @@
5 ids_task = []
6
7 data = self.read(cr, uid, ids, [], context=context)[0]
8- data['user_id'] = data['user_id'][0]
9
10 backlogs = backlog_id.browse(cr, uid, context['active_ids'], context=context)
11 result = mod_obj._get_id(cr, uid, 'project', 'view_task_search_form')
12@@ -47,7 +46,7 @@
13 'name': backlog.name,
14 'description': backlog.note,
15 'project_id': backlog.project_id.id,
16- 'user_id': data['user_id'] or False,
17+ 'user_id': data['user_id'] and data['user_id'][0] or [],
18 'planned_hours': backlog.expected_hours,
19 'remaining_hours':backlog.expected_hours,
20 'sequence':backlog.sequence,