Closed coderofsalvation closed 5 years ago
I would advice you to reinstall ERPNextSwiss:
bench --site site.name uninstall-app erpnextswiss
bench update
bench --site site.name install-app erpnextswiss
the first command may result in an error because "bench" cannot remove print formats. This can be resolved by following commands:
bench --site site.name console
# Will open a python shell
for format in frappe.get_list("Print Format", filters={'module': 'ERPNextSwiss'}, fields=["name"]):
frappe.delete_doc("Print Format",format["name"])
print(format["name"])
frappe.db.commit()
exit()
after execution retry the reinstall
don't forget to replace "site.name" with the actual site name
Should this also throw an error please provide the details.
I would recommend to use the master brench which has all the tested features and bug fixes. Maybe install and test new versions on a replica of your production. Same goes for ERPNext and Frappe releases.
No activity for 1 month, closing answered issue.
I would love to use the csv import-features.
Expected behaviour
Actual behaviour
`
Installing erpnextswiss... Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main "main", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 77, in`
Observed in (version)
erpnext masterbranch latest commit 41721fe (https://hub.docker.com/r/davidgu/erpnext)