fix: use ignore_virtual

This commit is contained in:
Sagar Vora 2025-10-01 12:49:49 +05:30
parent 66e187daa0
commit e5a9e5bf74

View file

@ -146,7 +146,7 @@ def _update_virtual_ct_props(class_, doctype):
return class_
meta = frappe.get_meta(doctype)
for df in meta.get_table_fields():
for df in meta.get_table_fields(ignore_virtual=False):
if df.is_virtual:
_update_virtual_ct_prop(class_, df)