Merge lp:~openerp-dev/openobject-addons/6.1-opw-580212-dhs into lp:openobject-addons/6.1

Proposed by Dhruti Shastri(OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/6.1-opw-580212-dhs
Merge into: lp:openobject-addons/6.1
Diff against target: 14 lines (+3/-1)
1 file modified
crm/crm_meeting.py (+3/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/6.1-opw-580212-dhs
Reviewer Review Type Date Requested Status
Naresh(OpenERP) Pending
Review via email: mp+129607@code.launchpad.net

Description of the change

When no Internal Type is defined in the Meeting.

And User is trying to get detail of Invitation it throws error due name field passes None Value.

To post a comment you must log in.
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello,

This bug was qualified as Not reproducible on Trunk. 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

7028. By Dhruti Shastri(OpenERP)

[FIX][crm] : Invitations Detail Error

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'crm/crm_meeting.py'
2--- crm/crm_meeting.py 2011-10-16 01:28:00 +0000
3+++ crm/crm_meeting.py 2012-10-15 06:04:25 +0000
4@@ -119,7 +119,9 @@
5 result[id] = {}
6 if name == 'categ_id':
7 if attdata.ref and 'categ_id' in attdata.ref._columns:
8- result[id][name] = (attdata.ref.categ_id.id, attdata.ref.categ_id.name,)
9+ # Throws TypeError: cannot marshal None unless allow_none (if categ_id is False,None)
10+ if attdata.ref.categ_id.id:
11+ result[id][name] = (attdata.ref.categ_id.id, attdata.ref.categ_id.name,)
12 else:
13 result[id][name] = False
14 return result