Don't allow export of Virtual DocFields (#21749)

This commit is contained in:
Gughan Ravikumar 2023-07-20 17:25:12 +05:30 committed by GitHub
parent e2bd9d5269
commit b2d32a2d63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -312,6 +312,9 @@ export function get_columns_for_picker(doctype) {
if (["lft", "rgt"].includes(df.fieldname)) {
keep = false;
}
if (df.is_virtual) {
keep = false;
}
return keep;
};