From 8afeda924d0a4485dc5e1922aaf7c60aadfe6785 Mon Sep 17 00:00:00 2001 From: Aditya Hase Date: Mon, 29 Apr 2019 13:09:23 +0530 Subject: [PATCH] fix: Use all address lines instead of only first two --- .../doctype/tally_migration/tally_migration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/erpnext_integrations/doctype/tally_migration/tally_migration.py b/erpnext/erpnext_integrations/doctype/tally_migration/tally_migration.py index 5b96ad36f14..12b646dad77 100644 --- a/erpnext/erpnext_integrations/doctype/tally_migration/tally_migration.py +++ b/erpnext/erpnext_integrations/doctype/tally_migration/tally_migration.py @@ -165,7 +165,7 @@ class TallyMigration(Document): "supplier_type": "Individual", }) if party_type: - address = "\n".join([a.string for a in account.find_all("ADDRESS")[:2]]) + address = "\n".join([a.string for a in account.find_all("ADDRESS")]) addresses.append({ "doctype": "Address", "address_line1": address[:140].strip(),