Skip to content

Commit

Permalink
fix: group by in item-wise purchase register
Browse files Browse the repository at this point in the history
(cherry picked from commit 3fab001)
  • Loading branch information
Nihantra-Patel authored and mergify[bot] committed Jul 4, 2024
1 parent cf937ed commit a967d59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def apply_conditions(query, pi, pii, filters):
query = query.orderby(pi.posting_date, order=Order.desc)
query = query.orderby(pii.item_group, order=Order.desc)
else:
query = apply_group_by_conditions(filters, "Purchase Invoice")
query = apply_group_by_conditions(query, pi, pii, filters)

return query

Expand Down

0 comments on commit a967d59

Please sign in to comment.