fix exception message in report seachr
authorAlexandre Fayolle <alexandre.fayolle@camptocamp.com>
Tue, 30 Sep 2014 09:35:05 +0000 (11:35 +0200)
committerAlexandre Fayolle <alexandre.fayolle@camptocamp.com>
Tue, 30 Sep 2014 09:35:05 +0000 (11:35 +0200)
commit20267aa06c9617c2d448a8710d425a28be6948a8
tree7555796e5567cc4ca4a56b2289b0a6faed510834
parent5e248f09c7d11ee130dc13aab5661618ddb5b777
fix exception message in report seachr

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.
openerp/addons/base/ir/ir_actions.py