Error while updating with bench update

Hi,

I tried to run bench update this morning and got this error:

Executing erpnext.patches.v7_2.stock_uom_in_selling in erp.mydomain.com (581424fe2ff872d4)
Traceback (most recent call last):

File “/home/glibersat/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/connections.py”, line 36, in defaulterrorhandler
raise errorclass, errorvalue
_mysql_exceptions.OperationalError: (1054, “Unknown column ‘uom’ in ‘field list’”)

Any idea on how to fix this?

Thank you

got same error

@glibersat got the error, you need to reload also:

'Sales Order Item', 'Delivery Note Item', 'Quotation Item', 'Sales Invoice Item'

@JoEz how do you do that? thanks

@glibersat you need to add in patch file:

1 Like

Worked like a charm, thank you very much!

1 Like

@glibersat :thumbsup:

fixed by core team, pull last update