Hi I was trying to update my fully up to date frappe and erpnext version 14 to the next version , 15 and I cannot get past this error on the bench --patch
We have the NOK currency active and use it in one of our companies
Any helpful pointers would be great
The end of the trace …
File “/home/erpnext/frappe-bench/apps/frappe/frappe/database/schema.py”, line 262, in default_changed
return self.default_changed_for_decimal(current_def)
self = <frappe.database.schema.DbColumn object at 0x7fd7f0db7e80>
current_def = {‘name’: ‘amount’, ‘type’: ‘decimal(21,9)’, ‘default’: ‘0.000000000’, ‘index’: 0, ‘unique’: 0}
File “/home/erpnext/frappe-bench/apps/frappe/frappe/database/schema.py”, line 302, in default_changed_for_decimal
return float(current_def[“default”]) != float(self.default)
self = <frappe.database.schema.DbColumn object at 0x7fd7f0db7e80>
current_def = {‘name’: ‘amount’, ‘type’: ‘decimal(21,9)’, ‘default’: ‘0.000000000’, ‘index’: 0, ‘unique’: 0}
builtins.ValueError: could not convert string to float: ‘NOK’
please be aware that the format for the NOK currency is “# ###,##” and is set correctly in the system.