Log a system note before marking done so that odoo can find a previous message
Log a system note before marking done so that odoo can find a previous message

This is probably due to the fact that crm_compassion/res_partner defines a domain on top of message_ids but I'm not sure... Anyway odoo performs a record.message_ids[0] which resolves to nothing in certain cases, thus logging a simple note before it will make it work correctly.

CompassionCH/compassion-modules,CompassionCH/compassion-modules,CompassionCH/compassion-modules,CompassionCH/compassion-modules