Merge pull request #30907 from akhilnarang/fixup-27805
fix(report_view): skip read_only condition checking for reportview
This commit is contained in:
parent
47fd3386fd
commit
9720ff2a8c
1 changed files with 2 additions and 0 deletions
|
|
@ -714,6 +714,8 @@ frappe.views.ReportView = class ReportView extends frappe.views.ListView {
|
|||
!df.hidden &&
|
||||
// not a standard field i.e., owner, modified_by, etc.
|
||||
frappe.model.is_non_std_field(df.fieldname) &&
|
||||
// don't check read_only_depends_on if there's child table fields
|
||||
!this.meta.fields.some((df) => df.fieldtype === "Table") &&
|
||||
df.read_only_depends_on &&
|
||||
!this.evaluate_read_only_depends_on(df.read_only_depends_on, data)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue