Skip to content

Commit

Permalink
Merge pull request #42183 from ruthra-kumar/empty_item_on_select
Browse files Browse the repository at this point in the history
fix: empty item-wise sales/purchase register reports on initial load
  • Loading branch information
ruthra-kumar committed Jul 4, 2024
2 parents 55e2b87 + ee86212 commit 36403cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 36403cd

Please sign in to comment.