Skip to content

Commit

Permalink
Don't allow export of Virtual DocFields (frappe#21749)
Browse files Browse the repository at this point in the history
  • Loading branch information
SvbZ3r0 authored Jul 20, 2023
1 parent e2bd9d5 commit b2d32a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frappe/public/js/frappe/data_import/data_exporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit b2d32a2

Please sign in to comment.