fix: empty item-wise sales/purchase register reports on initial load

(cherry picked from commit ee862126e4)
This commit is contained in:
ruthra kumar
2024-07-04 15:01:35 +05:30
committed by Mergify
parent 64f8498576
commit 13895fa060
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ frappe.query_reports["Item-wise Purchase Register"] = {
label: __("Group By"),
fieldname: "group_by",
fieldtype: "Select",
options: ["Supplier", "Item Group", "Item", "Invoice"],
options: ["", "Supplier", "Item Group", "Item", "Invoice"],
},
],
formatter: function (value, row, column, data, default_formatter) {

View File

@@ -64,7 +64,7 @@ frappe.query_reports["Item-wise Sales Register"] = {
label: __("Group By"),
fieldname: "group_by",
fieldtype: "Select",
options: ["Customer Group", "Customer", "Item Group", "Item", "Territory", "Invoice"],
options: ["", "Customer Group", "Customer", "Item Group", "Item", "Territory", "Invoice"],
},
],
formatter: function (value, row, column, data, default_formatter) {