Attached is a patch that modifies your patch on the bug issue. I had done small change on the patch applied because using the patch given Open Attachment button is not displaying attachments. Am attaching the modified patch with this mail.
Best Regards, David Mitchell President NovaPoint Group LLC On Mon, Jan 24, 2011 at 4:07 AM, tfr (Openerp) <[email protected]> wrote: > ** Changed in: openobject-addons > Assignee: OpenERP R&D Addons Team 1 (openerp-dev-addons1) => (unassigned) > > -- > You received this bug notification because you are a direct subscriber > of the bug. > https://bugs.launchpad.net/bugs/705439 > > Title: > 6.0.0-RC2 - mail_gateway open attachment from partner email list > returns blank list > > Status in OpenERP Modules (addons): > Confirmed > > Bug description: > mail_gateway error (6.0.0-RC2) > Description: Attachment Action button on Partner email history doesn’t > resolve correctly > > GTK Client > addons 4235 > client 1772 > server 3256 > addons-community 295 > addons-extra 5158 > web 4326 > > > To recreate: > Open a partner, look at the history tab, and the email table. > On an email listed (that you know has an attachment), click on the “Open > Attachments” Action from the list. > > Result > An empty Attachments List view is displayed. > > Expected Result > We would see the attachment listed that is associated with this email. > > NOTES: If double click the actual email in the partner history email > list can navigate to the attached document to the email. > > We believe the code problem is in here . . . mail_gateway.py > > 212 > def open_attachment(self, cr, uid, ids, context=None): > > To unsubscribe from this bug, go to: > https://bugs.launchpad.net/openobject-addons/+bug/705439/+subscribe > ** Attachment added: "mail_gateway_applied.patch" https://bugs.launchpad.net/bugs/705439/+attachment/1806021/+files/mail_gateway_applied.patch -- You received this bug notification because you are a member of C2C OERPScenario, which is subscribed to the OpenERP Project Group. https://bugs.launchpad.net/bugs/705439 Title: 6.0.0-RC2 - mail_gateway open attachment from partner email list returns blank list Status in OpenERP Modules (addons): Confirmed Bug description: mail_gateway error (6.0.0-RC2) Description: Attachment Action button on Partner email history doesn’t resolve correctly GTK Client addons 4235 client 1772 server 3256 addons-community 295 addons-extra 5158 web 4326 To recreate: Open a partner, look at the history tab, and the email table. On an email listed (that you know has an attachment), click on the “Open Attachments” Action from the list. Result An empty Attachments List view is displayed. Expected Result We would see the attachment listed that is associated with this email. NOTES: If double click the actual email in the partner history email list can navigate to the attached document to the email. We believe the code problem is in here . . . mail_gateway.py 212 def open_attachment(self, cr, uid, ids, context=None): _______________________________________________ Mailing list: https://launchpad.net/~c2c-oerpscenario Post to : [email protected] Unsubscribe : https://launchpad.net/~c2c-oerpscenario More help : https://help.launchpad.net/ListHelp

