How to Retrieve Session ID After Successful Authentication in Odoo JSON-RPC for Invoice Creation?
I am developing a PHP script to integrate with Odoo using JSON-RPC. The goal is to authenticate a user and then create a custom invoice in the Odoo database. The authentication process successfully returns the user ID (uid), but the session ID (session_id) is coming back as empty. Without the session ID, subsequent requests (e.g., to create the invoice) fail due to session expiration.