Improper raise 'Unknown Report Type'

Bug #917960 reported by Christophe Combelles
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP's Framework R&D

Bug Description

penerp-server-6.0.3/bin/report/report_sxw.py : 417

            raise 'Unknown Report Type'

This is not valid and leads to :
- wrong error messages in some report plugins (such as aeroo).
- the following: ERROR:web-services:[09]: TypeError: exceptions must be old-style classes or derived from BaseException, not str

A real Exception should be raised instead.

Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :

Hello Christophe ,

Its not a bug but Its Improvement so I have consider this
as a wish list.

Thanks for reporting!

Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Wishlist
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.