Merge pull request #27418 from cogk/feat-allow-editable-cells-in-custom-reports

feat: Allow editable cells in custom reports
This commit is contained in:
Akhil Narang 2024-08-20 13:36:54 +05:30 committed by GitHub
commit 8bd2c8d8fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1273,7 +1273,7 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList {
// backend. Translating it again would cause unexpected behaviour.
name: column.label,
width: parseInt(column.width) || null,
editable: false,
editable: column.editable ?? false,
compareValue: compareFn,
format: (value, row, column, data, filter) => {
if (this.report_settings.formatter) {