Do not fail to render field without type in model graph

This commit is contained in:
Cédric Krier
2024-12-23 15:29:56 +01:00
parent 7ac5427f1c
commit d9ef6a486f
+1 -1
View File
@@ -1693,7 +1693,7 @@ class ModelGraph(Report):
if field.name in ('create_uid', 'write_uid',
'create_date', 'write_date', 'id'):
continue
label += '+ ' + field.name + ': ' + field.ttype
label += f'+ {field.name} : {field.ttype}'
if field.relation:
label += ' ' + field.relation
label += '\\l'