Merge pull request #26679 from rohitwaghchaure/removed-remarks-field-from-ar-ap-report-develop
fix: removed Remarks column from AR/AP report
This commit is contained in:
		
						commit
						c1eb5a06a3
					
				| @ -99,7 +99,6 @@ class ReceivablePayableReport(object): | |||||||
| 					voucher_no = gle.voucher_no, | 					voucher_no = gle.voucher_no, | ||||||
| 					party = gle.party, | 					party = gle.party, | ||||||
| 					posting_date = gle.posting_date, | 					posting_date = gle.posting_date, | ||||||
| 					remarks = gle.remarks, |  | ||||||
| 					account_currency = gle.account_currency, | 					account_currency = gle.account_currency, | ||||||
| 					invoiced = 0.0, | 					invoiced = 0.0, | ||||||
| 					paid = 0.0, | 					paid = 0.0, | ||||||
| @ -579,7 +578,7 @@ class ReceivablePayableReport(object): | |||||||
| 		self.gl_entries = frappe.db.sql(""" | 		self.gl_entries = frappe.db.sql(""" | ||||||
| 			select | 			select | ||||||
| 				name, posting_date, account, party_type, party, voucher_type, voucher_no, cost_center, | 				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 | 			from | ||||||
| 				`tabGL Entry` | 				`tabGL Entry` | ||||||
| 			where | 			where | ||||||
| @ -792,8 +791,6 @@ class ReceivablePayableReport(object): | |||||||
| 			self.add_column(label=_('Supplier Group'), fieldname='supplier_group', fieldtype='Link', | 			self.add_column(label=_('Supplier Group'), fieldname='supplier_group', fieldtype='Link', | ||||||
| 				options='Supplier Group') | 				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): | 	def add_column(self, label, fieldname=None, fieldtype='Currency', options=None, width=120): | ||||||
| 		if not fieldname: fieldname = scrub(label) | 		if not fieldname: fieldname = scrub(label) | ||||||
| 		if fieldtype=='Currency': options='currency' | 		if fieldtype=='Currency': options='currency' | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user