Delete the attachment on the invoice when it is cancelled
URL Manipulation Patch for Actions
Connect OpenERP with a CMIS server