- Joined
- Jul 13, 2018
- Messages
- 779
- Reaction score
- 122
Odoo passes back a cookie , which is then used for authentication, when you use the authentication REST API.
Is there any way to get this directly into the CRM template? Or will I need to write some middleware to do this?
<RequestsCookieJar[<Cookie session_id=357dfe2152f6870a59e55b777095a31b7b966bb1 for 192.168.1.231/>]>
{"count": 1, "prev": null, "current": 1, "next": null, "total_pages": 1, "result": [{"id": 9, "phone": "346463463", "name": "gsdgsdgsdgsdg", "company_id": {"name": false}}]}
Is there any way to get this directly into the CRM template? Or will I need to write some middleware to do this?
<RequestsCookieJar[<Cookie session_id=357dfe2152f6870a59e55b777095a31b7b966bb1 for 192.168.1.231/>]>
{"count": 1, "prev": null, "current": 1, "next": null, "total_pages": 1, "result": [{"id": 9, "phone": "346463463", "name": "gsdgsdgsdgsdg", "company_id": {"name": false}}]}