Merge lp:~openerp-dev/openobject-addons/7.0-opw-606233-jas into lp:openobject-addons/7.0
Proposed by
Anaël Closson (openerp)
Status: | Merged |
---|---|
Merged at revision: | 10022 |
Proposed branch: | lp:~openerp-dev/openobject-addons/7.0-opw-606233-jas |
Merge into: | lp:openobject-addons/7.0 |
Diff against target: |
22 lines (+3/-1) 1 file modified
mail/controllers/main.py (+3/-1) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-606233-jas |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Trigaux (OpenERP) (community) | Approve | ||
Anaël Closson (openerp) | Pending | ||
OpenERP Core Team | Pending | ||
Review via email: mp+215607@code.launchpad.net |
To post a comment you must log in.
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.