Good morning all,
Urgent support is most appreciated
Since updating ERPnext to version 14.13.0, when using Bank Reconciliation Tool “Action” bottom to reconcile transactions I get;
Server Error
TypeError: get_matching_queries() takes 6 positional arguments but 11 were given
The error report is;
App Versions
{
"erpnext": "14.13.0",
"frappe": "14.23.0",
"hrms": "1.0.0",
"payments": "0.0.1"
}
Route
Form/Bank Reconciliation Tool/Bank Reconciliation Tool
Trackeback
Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 69, in application
response = frappe.api.handle()
File "apps/frappe/frappe/api.py", line 54, in handle
return frappe.handler.handle()
File "apps/frappe/frappe/handler.py", line 45, in handle
data = execute_cmd(cmd)
File "apps/frappe/frappe/handler.py", line 83, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "apps/frappe/frappe/__init__.py", line 1595, in call
return fn(*args, **newargs)
File "apps/erpnext/erpnext/accounts/doctype/bank_reconciliation_tool/bank_reconciliation_tool.py", line 416, in get_linked_payments
matching = check_matching(
File "apps/erpnext/erpnext/accounts/doctype/bank_reconciliation_tool/bank_reconciliation_tool.py", line 442, in check_matching
subquery = get_queries(
File "apps/erpnext/erpnext/accounts/doctype/bank_reconciliation_tool/bank_reconciliation_tool.py", line 495, in get_queries
frappe.get_attr(method_name)(
TypeError: get_matching_queries() takes 6 positional arguments but 11 were given
Request Data
{
"type": "POST",
"args": {
"bank_transaction_name": "ACC-BTN-2023-00012",
"document_types": "[\"payment_entry\",\"journal_entry\"]",
"from_date": "2022-07-01",
"to_date": "2022-07-31",
"filter_by_reference_date": 0
},
"headers": {},
"error_handlers": {},
"url": "/api/method/erpnext.accounts.doctype.bank_reconciliation_tool.bank_reconciliation_tool.get_linked_payments"
}
Response Data
{
"exception": "TypeError: get_matching_queries() takes 6 positional arguments but 11 were given"
}