Hello,
after bench update --reset this error emerges:
App Versions
{
"erpnext": "13.35.1",
"frappe": "13.19.0"
}
Route
Form/Sales Invoice/R327/2021
Trackeback
Traceback (most recent call last):
File "apps/frappe/frappe/modules/utils.py", line 205, in load_doctype_module
File "apps/frappe/frappe/__init__.py", line 975, in get_module
digest = digest[:length]
File "env/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "apps/erpnext/erpnext/accounts/doctype/sales_invoice/sales_invoice.py", line 41, in <module>
from erpnext.controllers.accounts_controller import validate_account_head
File "apps/erpnext/erpnext/controllers/accounts_controller.py", line 10, in <module>
from frappe.query_builder.functions import Sum
File "apps/frappe/frappe/query_builder/functions.py", line 7, in <module>
from .utils import Column
ImportError: cannot import name 'Column' from 'frappe.query_builder.utils' (apps/frappe/frappe/query_builder/utils.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 68, in application
elif request.path.startswith("/api/"):
File "apps/frappe/frappe/api.py", line 55, in handle
return frappe.handler.handle()
File "apps/frappe/frappe/handler.py", line 31, in handle
def handle():
File "apps/frappe/frappe/handler.py", line 68, in execute_cmd
File "apps/frappe/frappe/__init__.py", line 1208, in call
def unscrub(txt):
File "apps/frappe/frappe/__init__.py", line 624, in wrapper_fn
:param reference_name: (or `name`) Append as communication to this document name.
File "apps/frappe/frappe/desk/notifications.py", line 235, in get_open_count
"""get open filters for doctype"""
File "apps/frappe/frappe/__init__.py", line 886, in get_doc
File "apps/frappe/frappe/model/document.py", line 73, in get_doc
doctype = kwargs["doctype"]
File "apps/frappe/frappe/model/base_document.py", line 74, in get_controller
raise ImportError(doctype)
File "apps/frappe/frappe/model/base_document.py", line 56, in _get_controller
import_path = class_overrides[doctype][-1]
File "apps/frappe/frappe/modules/utils.py", line 207, in load_doctype_module
ImportError: Module import failed for Sales Invoice (erpnext.accounts.doctype.sales_invoice.sales_invoice Error: cannot import name 'Column' from 'frappe.query_builder.utils' (apps/frappe/frappe/query_builder/utils.py))
Request Data
{
"type": "GET",
"args": {
"doctype": "Sales Invoice",
"name": "R327/2021",
"items": "[\"Payment Entry\",\"Payment Request\",\"Journal Entry\",\"Invoice Discounting\",\"Dunning\",\"Timesheet\",\"Delivery Note\",\"Sales Order\",\"POS Invoice\",\"Sales Invoice\",\"Auto Repeat\",\"Purchase Invoice\"]"
},
"headers": {},
"error_handlers": {},
"url": "/api/method/frappe.desk.notifications.get_open_count"
}
Response Data
{
"exception": "ImportError: Module import failed for Sales Invoice (erpnext.accounts.doctype.sales_invoice.sales_invoice Error: cannot import name 'Column' from 'frappe.query_builder.utils' (apps/frappe/frappe/query_builder/utils.py))"
}
any idea where to look?
Thanks and regards,
Matej