Open
Description
Module
[15.0] Call api first time from postman after restart odoo services
Describe the bug
functools.partial(<bound method FastApiDispatcher.dispatch of <odoo.addons.fastapi.fastapi_dispatcher.FastApiDispatcher object at 0x7f5dd05370a0>>), /fastapi/api/v1/get_after_sale_policy_by_partner: Function declared as capable of handling request of type 'fastapi' but called with a request of type 'json'
To Reproduce
Affected versions: 15.0
Steps to reproduce the behavior:
- Restart odoo services
- Call api from postman
- get bug
- Call after two or three time, api work perfect again
Expected behavior
Run perfect after restart odoo sevices
Additional context
Python 3.10, MacOS