Do not fail to render field without type in model graph
This commit is contained in:
1 parent
7ac5427f1c
commit
d9ef6a486f
1 file changed
+1
-1
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user