← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 683037] Re: attachments download should opens the right application

 

On openobject-client-web/trunk revno 4054, it always uses the octect-
stream mime type.

GET /openerp/attachment/get?record=1 HTTP/1.1
Host: localhost:8080

HTTP/1.1 200 OK
Date: Wed, 08 Dec 2010 13:07:10 GMT
Content-Length: 21272
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="isavedapotato.jpg"

we could use use the python mimetypes module. Setting it to wishlist.

** Changed in: openobject-client-web
   Importance: Medium => Wishlist

** Changed in: openobject-client-web
       Status: Fix Released => Confirmed

** Changed in: openobject-client-web
    Milestone: 6.0-rc2 => None

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

Title:
  attachments download should opens the right application

Status in OpenObject Web Client:
  Confirmed

Bug description:
  When downloading an attachment from the right sidebar, the file should be opened with the correct application should.

For example:

 * an image download should open the default image viewer
 * an openoffice document should launch OpenOffice





References