← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

** Project changed: openobject-addons => openobject-client

** Changed in: openobject-client
     Assignee: OpenERP R&D Addons Team 1 (openerp-dev-addons1) => OpenERP sa GTK client R&D (openerp-dev-gtk)

-- 
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 GTK Client:
  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