Skip to content

Record Demo Data not working properly #6

@BialArno

Description

@BialArno

Odoo version 12, runbot_testing_recording version 12

While recording demo data (using Record Demo Data) in the end it errors out with error related to 444 line of controllers/main.py. Found problem with def format_python_xml function, for me it ended up that data_to_xml was list with single binary element so function "".join(data_to_xml) errored since it was expecting string instead of bytes (that it received).

Basic Fix (at least it worked for me): "".join(data_to_xml[0].decode("utf-8"))

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