I want different message for wrong password and wrong username?? How to detect from response whether wrong username or wrong password??
auth = aiohttp.BasicAuth(username, password)
with aiohttp.ClientSession(loop=loop, auth=auth) as client:
client.post(Some_data) as response
Odoo is not providing this information on login. Internally (backend resp. application server) it is just getting a user ID if login and password are both correct or
Falseif something is wrong. So Odoo isn't even providing the information at the backend level.