Commit 21795ffe authored by Rafael Monnerat's avatar Rafael Monnerat

Ignore id on edit_dict

parent e01a4b39
......@@ -87,9 +87,11 @@ class CategoriesSpreadsheetConfiguratorItem(ConfiguratorItemMixin, XMLObject):
id=cat,)
else:
path = path[cat]
edit_dict = category_info.copy()
edit_dict.pop('path')
if 'id' in edit_dict.keys():
edit_dict.pop('id')
path.edit(**edit_dict)
## add to customer template
self.install(path, business_configuration)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment