Try ERPNext Buy Support Partners Foundation Foundation Members

StockEntry object has no attribute get_stock_and_rate

A problem occurs when I enter the item code
in this case the calculation of prices and stock is not running,

I hope this problem is solved,
thank you

com-resize%20(1)

Traceback (most recent call last):
      File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 61, in application
        response = frappe.handler.handle()
      File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 21, in handle
        data = execute_cmd(cmd)
      File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 56, in execute_cmd
        return frappe.call(method, **frappe.form_dict)
      File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1027, in call
        return fn(*args, **newargs)
      File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 84, in runserverobj
        frappe.desk.form.run_method.runserverobj(method, docs=docs, dt=dt, dn=dn, arg=arg, args=args)
      File "/home/frappe/frappe-bench/apps/frappe/frappe/desk/form/run_method.py", line 34, in runserverobj
        fnargs, varargs, varkw, defaults = inspect.getargspec(getattr(doc, method))
    AttributeError: 'StockEntry' object has no attribute 'get_stock_and_rate'

Solved