← Back to team overview

openerp-india team mailing list archive

[Bug 886144] Re: [trunk] email_template

 

Hello,

I continue my tests when i am time.

 I think there is a bug in method "create_action" of class email_template. 
'context': "{'mail.compose.message.mode':'mass_mail', 'mail.compose.template_id' : %d}" % (template.id), 
'mass_mail'  is not good.  when i change it by 'mail' for example  the report is generated.

in the same class   methode  generate_email, 
 service = netsvc.LocalService(report_service)
            (result, format) = service.create(cr, uid, [res_id], {'model': template.model}, ctx)
           result = base64.b64encode(result)

b64encode  must be remove because the attachement is encoded later in
another method.

To finish there is a problem with the filename in the mime header.  the
mails are sent with " at the end of the filename (ex: so007/pdf")  this
can disturb some mail client software ( ex:  orange.fr  webmail  replace
the filename with 'no filename' for the attachment). For this point i
did not find the part to modify.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/886144

Title:
  [trunk]  email_template

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  i'am testing Openerp 6.1  on runbot.openerp  (web-trunk)

  i created an email template ( for invoice )  with a button in action
  bar and i can not use this template.

  i get the same wizard that mass mailing  and  template fields are not
  used.

  The  button name is not good. (it is the template name)

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/886144/+subscriptions


References