[FIX] Removed entry from context making message_append_note crash
bzr revid: tde@openerp.com-20120402143725-drccru76d7r0vvyv
This commit is contained in:
@@ -94,6 +94,8 @@ class crm_meeting(crm_base, osv.osv):
|
||||
return 'Meeting'
|
||||
|
||||
def create_send_note(self, cr, uid, ids, context=None):
|
||||
# update context: if come from phonecall, default state values can make the message_append_note crash
|
||||
context.pop('default_state')
|
||||
lead_obj = self.pool.get('crm.lead')
|
||||
phonecall_obj = self.pool.get('crm.phonecall')
|
||||
for meeting in self.browse(cr, uid, ids, context=context):
|
||||
|
||||
Reference in New Issue
Block a user