fix: Added hidden GL column in general ledger (#21021)
Co-authored-by: Nabin Hait <nabinhait@gmail.com>
This commit is contained in:
parent
fafba10219
commit
d74bcad7af
@ -131,7 +131,7 @@ def get_gl_entries(filters):
|
|||||||
gl_entries = frappe.db.sql(
|
gl_entries = frappe.db.sql(
|
||||||
"""
|
"""
|
||||||
select
|
select
|
||||||
posting_date, account, party_type, party,
|
name as gl_entry, posting_date, account, party_type, party,
|
||||||
voucher_type, voucher_no, cost_center, project,
|
voucher_type, voucher_no, cost_center, project,
|
||||||
against_voucher_type, against_voucher, account_currency,
|
against_voucher_type, against_voucher, account_currency,
|
||||||
remarks, against, is_opening {select_fields}
|
remarks, against, is_opening {select_fields}
|
||||||
@ -362,6 +362,12 @@ def get_columns(filters):
|
|||||||
currency = get_company_currency(company)
|
currency = get_company_currency(company)
|
||||||
|
|
||||||
columns = [
|
columns = [
|
||||||
|
{
|
||||||
|
"fieldname": "gl_entry",
|
||||||
|
"fieldtype": "Link",
|
||||||
|
"options": "GL Entry",
|
||||||
|
"hidden": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"label": _("Posting Date"),
|
"label": _("Posting Date"),
|
||||||
"fieldname": "posting_date",
|
"fieldname": "posting_date",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user