[FIX] gamification: prevent traceback in goals history

Closes #1536
Merge branch '8.0' of https://github.com/odoo/odoo into 8.0-linux64