From c5d41af10fd32d1df79efee66b2d1a307304458a Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Wed, 14 Aug 2019 18:49:19 +0530 Subject: [PATCH] fix: sequence of customer name and contact in the AR report --- .../report/accounts_receivable/accounts_receivable.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/erpnext/accounts/report/accounts_receivable/accounts_receivable.py b/erpnext/accounts/report/accounts_receivable/accounts_receivable.py index ecf149b335..97e710450c 100755 --- a/erpnext/accounts/report/accounts_receivable/accounts_receivable.py +++ b/erpnext/accounts/report/accounts_receivable/accounts_receivable.py @@ -33,6 +33,9 @@ class ReceivablePayableReport(object): columns += [_(args.get("party_type")) + ":Link/" + args.get("party_type") + ":200"] + if party_naming_by == "Naming Series": + columns += [args.get("party_type") + " Name::110"] + if args.get("party_type") == 'Customer': columns.append({ "label": _("Customer Contact"), @@ -42,9 +45,6 @@ class ReceivablePayableReport(object): "width": 100 }) - if party_naming_by == "Naming Series": - columns += [args.get("party_type") + " Name::110"] - columns.append({ "label": _("Voucher Type"), "fieldtype": "Data",