Skip to content

Commit

Permalink
Improve assets migration
Browse files Browse the repository at this point in the history
  • Loading branch information
feketemihai committed Jul 23, 2024
1 parent 0d045c2 commit ca11999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odoo_module_migrate/migration_scripts/migrate_140_150.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def remove_node_from_xml(record_node, node):
if node.getchildren():
to_remove = False
if to_remove:
parent = node.getparent() or record_node
parent = node.getparent() if node.getparent() is not None else record_node
parent.remove(node)


Expand Down

0 comments on commit ca11999

Please sign in to comment.