Skip to content

Commit

Permalink
Merge branch 'version-14-hotfix' into patch-3
Browse files Browse the repository at this point in the history
  • Loading branch information
RJPvT authored Dec 29, 2023
2 parents ea7a4cc + c0b5980 commit 9b2462e
Show file tree
Hide file tree
Showing 9 changed files with 975 additions and 373 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,8 @@ def get_conditions(filters):

def get_items(filters, additional_query_columns):
conditions = get_conditions(filters)

if additional_query_columns:
additional_query_columns = "," + ",".join(additional_query_columns)
return frappe.db.sql(
"""
select
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ def get_group_by_conditions(filters, doctype):

def get_items(filters, additional_query_columns, additional_conditions=None):
conditions = get_conditions(filters, additional_conditions)

if additional_query_columns:
additional_query_columns = "," + ",".join(additional_query_columns)
return frappe.db.sql(
"""
select
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ frappe.query_reports["Purchase Register"] = {
"label": __("Item Group"),
"fieldtype": "Link",
"options": "Item Group"
},
{
"fieldname": "include_payments",
"label": __("Show Ledger View"),
"fieldtype": "Check",
"default": 0
}
]
}
Expand Down
Loading

0 comments on commit 9b2462e

Please sign in to comment.