Skip to content

Commit 9210f8d

Browse files
committed
LITE-29138 Fix product clone translation
1 parent 0c8efe5 commit 9210f8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connect/cli/plugins/shared/translation_attr_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def _collect_attributes_to_update(self, ws, translation, is_clone):
8282
new_attrs = None
8383
if is_clone and translation is not None:
8484
translation_res = self._client.ns('localization').translations[translation['id']]
85-
new_attrs = translation_res.attributes.all()
85+
new_attrs = list(translation_res.attributes.all())
8686
attributes = {}
8787
for row_idx, row in enumerate(ws.iter_rows(min_row=2, values_only=True), 2):
8888
row = AttributeRow(*row)

0 commit comments

Comments
 (0)