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
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 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 1768, in call
return fn(*args, **newargs)
File "apps/frappe/frappe/handler.py", line 330, in run_doc_method
response = doc.run_method(method)
File "apps/frappe/frappe/model/document.py", line 962, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1322, in composer
return composed(self, method, *args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1304, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File "apps/frappe/frappe/model/document.py", line 959, 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/hrms/hrms/payroll/doctype/payroll_entry/payroll_entry.py", line 886, in make_bank_entry
self.set_accounting_entries_for_bank_entry(salary_slip_total, "salary")
File "apps/hrms/hrms/payroll/doctype/payroll_entry/payroll_entry.py", line 985, in set_accounting_entries_for_bank_entry
self.make_journal_entry(
File "apps/hrms/hrms/payroll/doctype/payroll_entry/payroll_entry.py", line 610, in make_journal_entry
journal_entry.save(ignore_permissions=True)
File "apps/frappe/frappe/model/document.py", line 337, in save
return self._save(*args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 359, in _save
return self.insert()
File "apps/frappe/frappe/model/document.py", line 291, in insert
self.run_before_save_methods()
File "apps/frappe/frappe/model/document.py", line 1091, in run_before_save_methods
self.run_method("validate")
File "apps/frappe/frappe/model/document.py", line 962, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1322, in composer
return composed(self, method, *args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1304, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File "apps/frappe/frappe/model/document.py", line 959, in fn
return method_object(*args, **kwargs)
File "apps/erpnext/erpnext/accounts/doctype/journal_entry/journal_entry.py", line 142, in validate
self.set_against_account()
File "apps/erpnext/erpnext/accounts/doctype/journal_entry/journal_entry.py", line 855, in set_against_account
d.against_account = ", ".join(list(set(accounts_credited)))
TypeError: sequence item 0: expected str instance, NoneType found
Information about bug
App Versions
Route
Traceback
Request Data
Response Data
when user click make bank entry without choosing Payment Account
Module
HR
Version
Installation method
manual install
Relevant log output / Stack trace / Full Error Message.
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: