Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record Demo Data not working properly #6

Open
BialArno opened this issue Nov 30, 2021 · 0 comments
Open

Record Demo Data not working properly #6

BialArno opened this issue Nov 30, 2021 · 0 comments

Comments

@BialArno
Copy link

BialArno commented Nov 30, 2021

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"))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant