← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 791565] Re: V6.1 Dev CRM Helpdesk send mail : mailform not shown

 

*** This bug is a duplicate of bug 791556 ***
    https://bugs.launchpad.net/bugs/791556

** This bug has been marked a duplicate of bug 791556
   CRM Send email doesn't work : mail form not shown

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/791565

Title:
  V6.1 Dev CRM Helpdesk send mail : mailform not shown

Status in OpenERP Modules (addons):
  New

Bug description:
  Sending an email from the "communication & history"-tab in the
  helpdesk doesn't work.

  The reason is that the function crm_send_new_email.default_get is
  called twice, the first time without context.

  Line 192 requires a context, or an error "Can not send mail!" is
  generated.

  Temporary solution:
  modify line 190 of file crm/wizard/crm_send_email.py as this :

         context = {'active_model': 'crm.helpdesk'}

  This makes sure the first wrong call is completed without any results,
  without errors.

  The client makes immediately a second call with the right context, so
  the mail-form is shown.


References