← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Public bug reported:

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.

** Affects: account-banking
     Importance: Undecided
         Status: New

-- 
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 Account Banking Framework:
  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.


Follow ups

References