Skip to content

Bug with Odoo >= 8 #14

@jvelazqueztraut

Description

@jvelazqueztraut

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions