Closed balamurugan8848 closed 1 week ago
While creating and saving the payment entry the below server error comes.
HR
Frappe HR: v15.36.1 (pre-prod) ERPNext: v15.50.0 (pre-prod) Frappe Framework: v15.52.0 (pre-prod)
None
### App Versions { "assets": "0.0.1", "crm": "2.0.0-dev", "custom_crm": "0.0.1", "erpnext": "15.50.0", "erpnext_india": "0.0.1", "exotel_integration": "0.0.1", "frappe": "15.52.0", "helpdesk": "1.4.0", "hr_addon": "0.0.1", "hrms": "15.36.1", "india_compliance": "15.15.0", "insights": "3.0.0", "payments": "0.0.1", "print_designer": "1.4.3", "projects": "0.0.1", "sales_commission": "0.0.1", "transportation": "0.0.1" } ### Route Form/Payment Entry/ACC-PAY-2025-00001 ### Traceback 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 1758, 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_india/erpnext_india/erpnext_india/customizations/payment_entry/payment_entry.py", line 8, in get_settings for s in doc.suppliers: AttributeError: 'AccountsSettings' object has no attribute 'suppliers' ### Request Data { "type": "POST", "args": {}, "headers": {}, "error_handlers": {}, "url": "/api/method/erpnext_india.erpnext_india.customizations.payment_entry.payment_entry.get_settings", "request_id": null } ### Response Data { "exception": "AttributeError: 'AccountsSettings' object has no attribute 'suppliers'", "exc_type": "AttributeError", "_exc_source": "erpnext_india (app)" }
@hrishikesh8848 @Satya8848
@balamurugan8848 this is fixed
@hrishikesh8848, this is working fine now. I am closing this issue.
Information about bug
While creating and saving the payment entry the below server error comes.
Module
HR
Version
Frappe HR: v15.36.1 (pre-prod) ERPNext: v15.50.0 (pre-prod) Frappe Framework: v15.52.0 (pre-prod)
Installation method
None
Relevant log output / Stack trace / Full Error Message.