Json – Odoo set response type for whole method or controller?
If there a way to set the response type for a whole method and/or controller in Odoo ? I created custom controllers to return data formatted as json. The problem is when the data isn't found I receive a classic…