odoo/odoo — pull request #4312 by ccomb (2014-12-18 00:50:47+00:00)
Title: [FIX] #4309 Attachments with res_id=0 should not be considered orphaned

Same as #4310 for v8