angular-odoo
angular-odoo copied to clipboard
Bug with Odoo >= 8
Line 346 in dist/odoo.js:
odooRpc.shouldManageSessionId = (reason.result.server_serie < "8"); //server_serie is string like "7.01"
The comparision does not work correctly so the session_id param gets sent. This causes Odoo to deny all messages because of this unnecessary param.
I think the 8 should be without quotes.