← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 791556] Re: CRM Send email doesn't work : mail form not shown

 

Hello,

     We have tested the issue with latest trunk server(3444),
addons(4769), and web-client(3447) and it is working perfect with web-
client  and also theirs no problem with addons rather it is problem of
GTK Client, So i confirm this issue in GTK Client as with Web-Client it
is working Perfect and problem is of passing wrong context or no
context.

Thank You

-- 
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/791556

Title:
  CRM Send email doesn't work : mail form not shown

Status in OpenERP Modules (addons):
  Confirmed

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