odoo/odoo — pull request #2796 by gurneyalex (2014-09-30 09:40:02+00:00)
Title: lookup_report: fix exception message when the report is not found

when we get to the `raise` statement, `r` is `None`, so displaying it in the
exception message is useless; `name` is what we want to show.