POS-Awesome
POS-Awesome copied to clipboard
[BUG]: Error while edit customer info
App Versions
{
"chat": "0.0.1",
"erpnext": "13.39.0",
"frappe": "13.41.1",
"lms": "0.0.1",
"posawesome": "3.4.0"
}
Route
posapp
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)
TypeError: set_customer_info() missing 1 required positional argument: 'customer'
Request Data
{
"type": "POST",
"args": {
"fieldname": "mobile_no",
"value": "+201211159151"
},
"headers": {},
"error_handlers": {},
"url": "/api/method/posawesome.posawesome.api.posapp.set_customer_info"
}
Response Data
{
"exception": "TypeError: set_customer_info() missing 1 required positional argument: 'customer'"
}
