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
Getting error while fetching outstanding amount inside the Payment Entry Form.
App Versions
{
"erpnext": "13.42.0",
"frappe": "13.44.0"
}
Route
Form/Payment Entry/PAYE00003/2211
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 55, in handle
return frappe.handler.handle()
File "apps/frappe/frappe/handler.py", line 38, in handle
data = execute_cmd(cmd)
File "apps/frappe/frappe/handler.py", line 76, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "apps/frappe/frappe/__init__.py", line 1457, in call
return fn(*args, **newargs)
File "apps/erpnext/erpnext/accounts/doctype/payment_entry/payment_entry.py", line 1279, in get_outstanding_reference_documents
orders_to_be_billed = get_orders_to_be_billed(
File "apps/erpnext/erpnext/accounts/doctype/payment_entry/payment_entry.py", line 1389, in get_orders_to_be_billed
if voucher_type:
UnboundLocalError: local variable 'voucher_type' referenced before assignment
{
"exception": "UnboundLocalError: local variable 'voucher_type' referenced before assignment"
}
Module
accounts
Version
"erpnext": "13.42.0",
"frappe": "13.44.0"
Installation method
manual install
Relevant log output / Stack trace / Full Error Message.
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 55, in handle
returnfrappe.handler.handle()
File "apps/frappe/frappe/handler.py", line 38, in handle
data = execute_cmd(cmd)
File "apps/frappe/frappe/handler.py", line 76, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "apps/frappe/frappe/__init__.py", line 1457, in call
return fn(*args, **newargs)
File "apps/erpnext/erpnext/accounts/doctype/payment_entry/payment_entry.py", line 1279, in get_outstanding_reference_documents
orders_to_be_billed = get_orders_to_be_billed(
File "apps/erpnext/erpnext/accounts/doctype/payment_entry/payment_entry.py", line 1389, in get_orders_to_be_billed
if voucher_type:
UnboundLocalError: local variable 'voucher_type' referenced before assignment
The text was updated successfully, but these errors were encountered:
jalajc
changed the title
Getting Error While Fetching Outstanding for Shareholder
Payment Entry Form: Getting Error While Fetching Outstanding for Shareholder
Nov 26, 2022
Information about bug
Getting error while fetching outstanding amount inside the Payment Entry Form.
App Versions
Route
Trackeback
Request Data
Response Data
Module
accounts
Version
Installation method
manual install
Relevant log output / Stack trace / Full Error Message.
The text was updated successfully, but these errors were encountered: