Can someone explain how the "Tally Migration" in ERPNext works?

There is a tool called “Tally Migration” in erpnext. I am unable to understand how to use this tool due to the lack of documentations and understanding. I tried importing tally backup file zip, it didn’t work, I tried importing in “xml” it didn’t work.

I am getting the following error everytime I try to import using the tool:

Title
Tally Migration Error

method
Error

Data:
"Processing Master Data"
----------------------------------------------------------------------------------------------------

Exception:
Traceback (most recent call last):
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/doctype/tally_migration/tally_migration.py", line 303, in _process_master_data
    collection = self.get_collection(self.master_data)
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/doctype/tally_migration/tally_migration.py", line 106, in get_collection
    master = bs(sanitize(emptify(content)), "xml")
UnboundLocalError: local variable 'content' referenced before assignment

Can anyone help me out?

1 Like

Ok found it myself. For those who want to know how to do it just refer this post:

What this basically means is that you have to get the data as XML from Tally and then just compress it as Zip file and the import it using the “Tally Migration” tool within ERPNext.