Hi friend,
i need to add balance column in general ledger …
Note : balance = debit - credit.
@iFeras93
you can create your custom report for that. Or make changes in existing report script.
Add Balance
column in it and change script to fetch data for it.
Make your changes in general_ledger.py
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from collections import OrderedDict
import frappe
from frappe import _, _dict
from frappe.utils import cstr, getdate
from erpnext import get_company_currency, get_default_company
from erpnext.accounts.doctype.accounting_dimension.accounting_dimension import (
get_accounting_dimensions,
get_dimension_with_children,
)
from erpnext.accounts.report.financial_statements import get_cost_centers_with_children
from erpnext.accounts.report.utils import convert_to_presentation_currency, get_currency
from erpnext.accounts.utils import get_account_currency
# to cache translations
This file has been truncated. show original
wale
April 19, 2017, 2:08pm
3
I would suggest this is added to the core as its quite generic especially as regards Customer and Supplier statements which are printed from the GL
I believe its standard for such statements to come with a ‘balance’ column
Kind regards,
1 Like