summaryrefslogtreecommitdiff
path: root/addons/document/document_data.xml
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2012-06-22 17:25:36 +0200
committerOlivier Dony <odo@openerp.com>2012-06-22 17:25:36 +0200
commitb4be8b80b2c2a2e3ab7598a183a4a0efc1bfd471 (patch)
tree24d90e1edaaf22995413679fd4b3d506cc74b727 /addons/document/document_data.xml
parent838b035f5a057a618edc0ceae54e59ea550f27aa (diff)
parent95e00367f59083afa22f987a77fead3e81a1de29 (diff)
[MERGE] mail: avoid obscure failure when processing batches of emails with attachments
This issue was caused by the way browse_records are cached, in combination with the deletion of messages just after sending them. When processing a second message, the attachment.datas function fields gets computed for all messages that are being browsed, including the first message that was already deleted, causing an exception. The value of the function field had already been computed for the first message, but had been discarded by the message.refresh() call. Hopefully this kind of issue will disappear once we implement the new ORM API. bzr revid: odo@openerp.com-20120622152536-42b2s28lvdv3odyr
Diffstat (limited to 'addons/document/document_data.xml')
0 files changed, 0 insertions, 0 deletions