[trunk]can't able to download attachment via in Inbox

Bug #1213905 reported by Twinkle Christian(OpenERP)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Medium
OpenERP R&D Addons Team 1

Bug Description

Try with latest trunk any with runbot or localhost,
Go to Messaging > Inbox > click on any attachement , It gives error :

2013-08-19 12:25:08,105 3268 ERROR trnk openerp.addons.web.http: An exception occured during an http request
Traceback (most recent call last):
  File "/home/tch/workspace/rdtools/web/trunk/addons/web/http.py", line 414, in dispatch
    r = self._call_function(**self.params)
  File "/home/tch/workspace/rdtools/web/trunk/addons/web/http.py", line 174, in _call_function
    return self.func(*args, **kwargs)
  File "/home/tch/workspace/rdtools/web/trunk/addons/web/http.py", line 1048, in nfunc
    return func(*args, **kwargs)
  File "/home/tch/workspace/rdtools/web/trunk/addons/web/http.py", line 507, in <lambda>
    return lambda self, *args, **kwargs: nv(self, request, *args, **kwargs)
  File "/home/tch/workspace/rdtools/addons/trunk/mail/controllers/main.py", line 24, in download_attachment
    ('Content-Disposition', content_disposition(filename, req))])
TypeError: content_disposition() takes exactly 1 argument (2 given)
2013-08-19 12:25:08,107 3268 INFO trnk werkzeug: 127.0.0.1 - - [19/Aug/2013 12:25:08] "GET /mail/download_attachment?model=mail.message&id=7&method=download_attachment&attachment_id=3 HTTP/1.1" 500 -

Thank you.

summary: - can't able to download attach document via in Inbox
+ can't able to download attachment via in Inbox
summary: - can't able to download attachment via in Inbox
+ [trunk]can't able to download attachment via in Inbox
Revision history for this message
Twinkle Christian(OpenERP) (tch-openerp) wrote :
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
importance: Undecided → Medium
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.