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
While creating stock entry I getting below server error.
AttributeError: 'StockEntry' object has no attribute 'bill_from_gstin'
Possible source of error: india_compliance (app)
Version
ERPNext: v15.47.5 (version-15)
Frappe Framework: v15.51.1 (version-15)
Frappe HR: v15.37.1 (version-15)
India Compliance: v15.14.7 (version-15)
Payments: v0.0.1 (version-15)
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/frappe/frappe/desk/form/load.py", line 46, in getdoc
run_onload(doc)
File "apps/frappe/frappe/desk/form/load.py", line 353, in run_onload
doc.run_method("onload")
File "apps/frappe/frappe/model/document.py", line 974, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1334, in composer
return composed(self, method, *args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1318, in runner
add_to_return_value(self, f(self, method, *args, **kwargs))
File "apps/india_compliance/india_compliance/gst_india/overrides/subcontracting_transaction.py", line 161, in onload
doc.company_gstin = doc.bill_from_gstin
AttributeError: 'StockEntry' object has no attribute 'bill_from_gstin'
Information about bug
While creating stock entry I getting below server error.
AttributeError: 'StockEntry' object has no attribute 'bill_from_gstin'
Possible source of error: india_compliance (app)
Version
ERPNext: v15.47.5 (version-15)
Frappe Framework: v15.51.1 (version-15)
Frappe HR: v15.37.1 (version-15)
India Compliance: v15.14.7 (version-15)
Payments: v0.0.1 (version-15)
Relevant log output / Stack trace / Full Error Message.
Route
Traceback
Request Data
Response Data
The text was updated successfully, but these errors were encountered: