Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 110, in application
response = frappe.api.handle(request)
File "apps/frappe/frappe/api/__init__.py", line 49, in handle
data = endpoint(**arguments)
File "apps/frappe/frappe/api/v1.py", line 36, in handle_rpc_call
return frappe.handler.handle()
File "apps/frappe/frappe/handler.py", line 49, in handle
data = execute_cmd(cmd)
File "apps/frappe/frappe/handler.py", line 85, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "apps/frappe/frappe/__init__.py", line 1715, in call
return fn(*args, **newargs)
File "apps/frappe/frappe/handler.py", line 328, in run_doc_method
response = doc.run_method(method)
File "apps/frappe/frappe/model/document.py", line 950, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1316, in composer
return composed(self, method, *args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1298, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File "apps/frappe/frappe/model/document.py", line 947, in fn
return method_object(*args, **kwargs)
File "apps/frappe/frappe/utils/typing_validations.py", line 31, in wrapper
return func(*args, **kwargs)
File "apps/erpnext/erpnext/controllers/accounts_controller.py", line 975, in set_advances
res = self.get_advance_entries(
File "apps/erpnext/erpnext/controllers/accounts_controller.py", line 1026, in get_advance_entries
journal_entries = get_advance_journal_entries(
File "apps/erpnext/erpnext/controllers/accounts_controller.py", line 2483, in get_advance_journal_entries
.where(
File "env/lib/python3.10/site-packages/pypika/utils.py", line 50, in _copy
result = func(self_copy, *args, **kwargs)
File "env/lib/python3.10/site-packages/pypika/queries.py", line 930, in where
if not self._validate_table(criterion):
File "env/lib/python3.10/site-packages/pypika/queries.py", line 1155, in _validate_table
for field in term.fields_():
File "env/lib/python3.10/site-packages/pypika/terms.py", line 57, in fields_
return set(self.find_(Field))
File "env/lib/python3.10/site-packages/pypika/terms.py", line 37, in find_
return [node for node in self.nodes_() if isinstance(node, type)]
File "env/lib/python3.10/site-packages/pypika/terms.py", line 37, in <listcomp>
return [node for node in self.nodes_() if isinstance(node, type)]
File "env/lib/python3.10/site-packages/pypika/terms.py", line 743, in nodes_
yield from self.left.nodes_()
File "env/lib/python3.10/site-packages/pypika/terms.py", line 743, in nodes_
yield from self.left.nodes_()
File "env/lib/python3.10/site-packages/pypika/terms.py", line 743, in nodes_
yield from self.left.nodes_()
[Previous line repeated 1 more time]
File "env/lib/python3.10/site-packages/pypika/terms.py", line 795, in nodes_
yield from self.container.nodes_()
AttributeError: 'str' object has no attribute 'nodes_'
Information about bug
Hello,
when i click on Allocate Advances Automatically (FIFO) i am getting an error below,
Module
selling
Version
ERPNext: v15.4.0 (HEAD)
Erpnext Telegram Integration: v1.2.0 (master)
Frappe Framework: v15.4.1 (version-15)
Frappe HR: v15.5.0 (version-15)
Installation method
None
Relevant log output / Stack trace / Full Error Message.
Route
Traceback
Request Data
Response Data