Merge pull request #42183 from ruthra-kumar/empty_item_on_select

fix: empty item-wise sales/purchase register reports on initial load
This commit is contained in:
ruthra kumar
2024-07-04 15:06:17 +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"],
},
{
fieldname: "income_account",