diff --git a/anybox/recipe/odoo/base.py b/anybox/recipe/odoo/base.py index eda87a7c..fec7edc3 100644 --- a/anybox/recipe/odoo/base.py +++ b/anybox/recipe/odoo/base.py @@ -1229,7 +1229,11 @@ def freeze_to(self, out_config_path): # actually, that comment will be lost if this is not the # last part (dropped upon reread) else: - addons_option.append(' '.join((local_path, revision))) + if isinstance(revision, bytes): + addons_option.append(' '.join( + (local_path, revision.decode("utf-8")))) + else: + addons_option.append(' '.join((local_path, revision))) if addons_option: out_conf.set(self.name, 'revisions',