You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When matching paid expense claims using the bank reconciliation tool, an error is generated when submitting. It appears the utilities get_ec_matching_query method does not return the doctype.
Module
HR
Version
ERPNext: v15.47.4 (version-15)
Frappe Framework: v15.51.1 (version-15)
Frappe HR: v15.37.1 (version-15)
Installation method
manual install
Relevant log output / Stack trace / Full Error Message.
Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 114, 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 50, in handle
data = execute_cmd(cmd)
^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/handler.py", line 86, in execute_cmd
return frappe.call(method, **frappe.form_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/__init__.py", line 1726, in call
return fn(*args, **newargs)
^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/utils/typing_validations.py", line 31, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "apps/erpnext/erpnext/accounts/doctype/bank_reconciliation_tool/bank_reconciliation_tool.py", line 443, in reconcile_vouchers
transaction.add_payment_entries(vouchers)
File "apps/erpnext/erpnext/accounts/doctype/bank_transaction/bank_transaction.py", line 135, in add_payment_entries
"payment_document": voucher["payment_doctype"],
~~~~~~~^^^^^^^^^^^^^^^^^^^
KeyError: 'payment_doctype'
Information about bug
When matching paid expense claims using the bank reconciliation tool, an error is generated when submitting. It appears the utilities get_ec_matching_query method does not return the doctype.
Module
HR
Version
ERPNext: v15.47.4 (version-15)
Frappe Framework: v15.51.1 (version-15)
Frappe HR: v15.37.1 (version-15)
Installation method
manual install
Relevant log output / Stack trace / Full Error Message.
Route
Traceback
Request Data
Response Data
The text was updated successfully, but these errors were encountered: