[6.0] CRM - Cannot send multiple times the same attachment through email
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 1 |
Bug Description
Hi,
In Sales->
The attachment name is unique and it should not be the filename but something more complicate that will be unique.
/home/
-> result = ExportService.
/home/
-> res = fn(db, uid, *params)
/home/
-> self.abortRespo
/home/
-> return f(self, dbname, *args, **kwargs)
/home/
-> res = self.execute_cr(cr, uid, obj, method, *args, **kw)
/home/
-> return getattr(object, method)(cr, uid, *args, **kw)
/home/
-> references=ref_id or message_id, attach=attach)
/home/
-> attachments.
> /home/jbaudoux/
-> raise osv.except_
Related branches
- OpenERP buildbot (community): Needs Fixing
- Bhumika Shrimali: Pending requested
-
Diff: 14 lines (+4/-0)1 file modifiedmail_gateway/mail_gateway.py (+4/-0)
tags: | added: profserv |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
Hello,
I am confirming the issue as one is able to send the mail with same attachment name despite the osv exception and we did get the traceback on client side every time when exception raised.
If we have to allow the user to send the email with same attachment name, then there should not be any exception like "File name must be unique".
Thanks.