Don't allow export of Virtual DocFields (#21749)
This commit is contained in:
parent
e2bd9d5269
commit
b2d32a2d63
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue