← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 791565] [NEW] V6.1 Dev CRM Helpdesk send mail : mailform 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: openobject-addons
     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/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.


Follow ups

References