Merge pull request #42185 from frappe/mergify/bp/version-15-hotfix/pr-42183

fix: empty item-wise sales/purchase register reports on initial load (backport #42183)
This commit is contained in:
ruthra kumar
2024-07-04 15:12:15 +05:30
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,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

@@ -70,7 +70,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) {