Merge pull request #2796 from gurneyalex/8.0-improve_report_not_found_exception
[FIX] lookup_report: exception message when the report is not found
This commit is contained in:
@@ -128,7 +128,7 @@ class ir_actions_report_xml(osv.osv):
|
||||
else:
|
||||
raise Exception, "Unhandled report type: %s" % r
|
||||
else:
|
||||
raise Exception, "Required report does not exist: %s" % r
|
||||
raise Exception, "Required report does not exist: %s" % name
|
||||
|
||||
return new_report
|
||||
|
||||
|
||||
Reference in New Issue
Block a user