mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 09:54:47 +00:00
fix: Use all address lines instead of only first two
This commit is contained in:
@@ -165,7 +165,7 @@ class TallyMigration(Document):
|
|||||||
"supplier_type": "Individual",
|
"supplier_type": "Individual",
|
||||||
})
|
})
|
||||||
if party_type:
|
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({
|
addresses.append({
|
||||||
"doctype": "Address",
|
"doctype": "Address",
|
||||||
"address_line1": address[:140].strip(),
|
"address_line1": address[:140].strip(),
|
||||||
|
|||||||
Reference in New Issue
Block a user