Code review comment for lp:~openerp-dev/openobject-addons/7.0-opw-606233-jas

Revision history for this message
Jamin Shah(OpenERP) (jamin-openerp) wrote :

Hello,

Fixed the issue of wrong Mime type, used python mimetypes module to detect proper mimetype of the file.

Demo: Go to chatter or wall and try to download different types of file, some browser will popup to open file in application say for example Firefox, it popup and based on your file mimetype it gives you application to openwith, currently we passed application/octet-stream, so Firefox suggests wrong applicatio to openwith.

Used mimetypes and guess mimetype based on filename.

Thanks.

« Back to merge proposal