Skip to content

Commit

Permalink
Merge pull request frappe#26679 from rohitwaghchaure/removed-remarks-…
Browse files Browse the repository at this point in the history
…field-from-ar-ap-report-develop

fix: removed Remarks column from AR/AP report
  • Loading branch information
rohitwaghchaure authored Jul 27, 2021
2 parents 69983eb + 5d121c4 commit c1eb5a0
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ def init_voucher_balance(self):
voucher_no = gle.voucher_no,
party = gle.party,
posting_date = gle.posting_date,
remarks = gle.remarks,
account_currency = gle.account_currency,
invoiced = 0.0,
paid = 0.0,
Expand Down Expand Up @@ -579,7 +578,7 @@ def get_gl_entries(self):
self.gl_entries = frappe.db.sql("""
select
name, posting_date, account, party_type, party, voucher_type, voucher_no, cost_center,
against_voucher_type, against_voucher, account_currency, remarks, {0}
against_voucher_type, against_voucher, account_currency, {0}
from
`tabGL Entry`
where
Expand Down Expand Up @@ -792,8 +791,6 @@ def get_columns(self):
self.add_column(label=_('Supplier Group'), fieldname='supplier_group', fieldtype='Link',
options='Supplier Group')

self.add_column(label=_('Remarks'), fieldname='remarks', fieldtype='Text', width=200)

def add_column(self, label, fieldname=None, fieldtype='Currency', options=None, width=120):
if not fieldname: fieldname = scrub(label)
if fieldtype=='Currency': options='currency'
Expand Down

0 comments on commit c1eb5a0

Please sign in to comment.