feat: Allow editable cells in custom reports

This commit is contained in:
Corentin Forler 2024-08-16 11:28:19 +02:00 committed by GitHub
parent 9ea66f6aca
commit ee2e1e882e
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) {