fix: Use all address lines instead of only first two
This commit is contained in:
parent
ba61be93ae
commit
8afeda924d
@ -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(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user