Do not fail to update chart if parent template is no more a template
This commit is contained in:
1 parent
3a15e586ca
commit
87f1cf42da
1 file changed
+2
-2
@@ -434,8 +434,8 @@ class Type(
|
||||
if child.template:
|
||||
if not child.template_override:
|
||||
if child.template.parent:
|
||||
parent = template2type[
|
||||
child.template.parent.id]
|
||||
parent = template2type.get(
|
||||
child.template.parent.id)
|
||||
else:
|
||||
parent = None
|
||||
old_parent = (
|
||||
|
||||
Reference in new issue
Block a user