Dhruti Shastri has proposed merging
lp:~openerp-dev/openobject-addons/6.1-opw-580212-dhs into
lp:openobject-addons/6.1.
Requested reviews:
Naresh(OpenERP) (nch-openerp)
Related bugs:
Bug #1054061 in OpenERP Addons: "[6.1] Invitations Detail Error "
https://bugs.launchpad.net/openobject-addons/+bug/1054061
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-580212-dhs/+merge/129607
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.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/6.1-opw-580212-dhs/+merge/129607
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/6.1-opw-580212-dhs.
=== modified file 'crm/crm_meeting.py'
--- crm/crm_meeting.py 2011-10-16 01:28:00 +0000
+++ crm/crm_meeting.py 2012-10-15 06:04:25 +0000
@@ -119,7 +119,9 @@
result[id] = {}
if name == 'categ_id':
if attdata.ref and 'categ_id' in attdata.ref._columns:
- result[id][name] = (attdata.ref.categ_id.id, attdata.ref.categ_id.name,)
+ # Throws TypeError: cannot marshal None unless allow_none (if categ_id is False,None)
+ if attdata.ref.categ_id.id:
+ result[id][name] = (attdata.ref.categ_id.id, attdata.ref.categ_id.name,)
else:
result[id][name] = False
return result
_______________________________________________
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