mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
Merge branch 'develop' into sales-commission-payout
This commit is contained in:
@@ -155,6 +155,8 @@ def get_gl_entries(filters, accounting_dimensions):
|
|||||||
|
|
||||||
if filters.get("group_by") == "Group by Voucher":
|
if filters.get("group_by") == "Group by Voucher":
|
||||||
order_by_statement = "order by posting_date, voucher_type, voucher_no"
|
order_by_statement = "order by posting_date, voucher_type, voucher_no"
|
||||||
|
if filters.get("group_by") == "Group by Account":
|
||||||
|
order_by_statement = "order by account, posting_date, creation"
|
||||||
|
|
||||||
if filters.get("include_default_book_entries"):
|
if filters.get("include_default_book_entries"):
|
||||||
filters['company_fb'] = frappe.db.get_value("Company",
|
filters['company_fb'] = frappe.db.get_value("Company",
|
||||||
|
|||||||
Reference in New Issue
Block a user