← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 705439] Re: 6.0 : mail_gateway: Creation of history with attachment does not send res_model, res_id to ir.attachment!

 

** Branch linked: lp:~openerp-dev/openobject-addons/trunk-dev-addons1

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

Title:
  6.0 : mail_gateway: Creation of history with attachment does not send
  res_model,res_id to ir.attachment!

Status in OpenERP Modules (addons):
  In Progress
Status in OpenERP Addons 6.0 series:
  Fix Released
Status in OpenERP Addons trunk series:
  In Progress

Bug description:
  mail_gateway error (6.0.0-RC2)
  Description: Attachment Action button on Partner email history doesn’t resolve correctly

  GTK Client
  addons 4235 
  client 1772 
  server 3256 
  addons-community 295 
  addons-extra 5158 
  web 4326 

  
  To recreate:
  Open a partner, look at the history tab, and the email table.
  On an email listed (that you know has an attachment), click on the “Open Attachments” Action from the list.

  Result
  An empty Attachments List view is displayed.

  Expected Result
  We would see the attachment listed that is associated with this email.

  NOTES: If double click the actual email in the partner history email
  list can navigate to the attached document to the email.

  We believe the code problem is in here . . . mail_gateway.py

  212 
      def open_attachment(self, cr, uid, ids, context=None):





References