rest-framework
rest-framework copied to clipboard
It works for me flawlessly in v15 with python package versions: graphene==2.1.9 graphql-server-core==2.0.0
Decorate services' methods when the component is initialized. This way, the state of the component is the same no matter where you get it from. @lmignon what do you think?...
``` class MyRestController(main.RestController): _root_path = '/my_library_api/' _collection_name = "my_library.services" _default_auth = "public" ``` ``` from odoo.addons.base_rest import restapi from odoo.addons.component.core import Component class PingService(Component): _inherit = 'base.rest.service' _name = 'ping.service'...
**Is your feature request related to a problem?** I was trying to access base_rest controller with api_key authentication (via fetch) from a local vue app (browser) but there is no...
With base_rest, it is not possible to return a specific error like 404, 201, ... it is only return 500 by raise UserError It is possible to manage the return...
There is an issue regarding the very first HTTP call after odoo restart. It is always handled by the original get_request handler, instead the one Rest Framework patched as below....
Hello there, I'm an Odoo employee and I've been working for the past months on a comprehensive refactor of the http framework. I fear that it is going to break...
Handle `odoo.http.Response` objects when creating logs.
Provide a hook to customize stored params. At the same time, assume passwords must be always cleaned up. FWD port of #298