The following error was encountered while trying to do an Export. Kindly advice how it could be rectified :
> Traceback (most recent call last):
File "/home/frappe/benches/sunseap2-prod/apps/frappe/frappe/app.py", line 60, in application
response = frappe.api.handle()
File "/home/frappe/benches/sunseap2-prod/apps/frappe/frappe/api.py", line 49, in handle
return frappe.handler.handle()
File "/home/frappe/benches/sunseap2-prod/apps/frappe/frappe/handler.py", line 19, in handle
execute_cmd(cmd)
File "/home/frappe/benches/sunseap2-prod/apps/frappe/frappe/handler.py", line 36, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File "/home/frappe/benches/sunseap2-prod/apps/frappe/frappe/__init__.py", line 879, in call
return fn(*args, **newargs)
File "/home/frappe/benches/sunseap2-prod/apps/frappe/frappe/core/page/data_import_tool/exporter.py", line 261, in get_template
build_field_columns(d)
File "/home/frappe/benches/sunseap2-prod/apps/frappe/frappe/core/page/data_import_tool/exporter.py", line 105, in build_field_columns
tablerow[column_start_end[dt].start + 1] = dt
IndexError: list assignment index out of range
We are currently running Frappe Framework: v7.0.22
However, with the new changes in Salary Structure and Salary Slip, our clients are currently not ready for an update on ERPNext. While we progressive plan to transition them, kindly advice how we can rectify this error for the time being without impacting their ERPNext.
Thank you for your prompt reply. We are not in favor to change the source code directly as well.
As such, could we check if there is a way to just update the Frappe Framework only without touching ERPNext?
Looking forward to the changes. However, currently our customization triggers are not compatible with the current update (i.e. changes from Employee field to Employee table in Salary Structure). Hence the reason for not taking in the changes yet. Wondering if we could just take in the Frappe Framework update only such that Import/Export will work in the meantime.