diff --git a/frappe/types/exporter.py b/frappe/types/exporter.py index 37c50689c3..2972378e8c 100644 --- a/frappe/types/exporter.py +++ b/frappe/types/exporter.py @@ -99,6 +99,8 @@ class TypeExporter: for field in self.doc.fields: if iskeyword(field.fieldname): continue + if field.is_virtual and not field.options: + continue if python_type := self._map_fieldtype(field): self.field_types[field.fieldname] = python_type