A user already has the role of manufacturing manager and manufacturing user however, the user cannot manually change the status of a work order using the status button with the stop and close option.
Why is a non-system manager cannot use the status button? Any solution on this?
NCP
June 26, 2023, 5:05am
2
Hi @ponyooooo ,
Without the system manager, the user changes the status, it will work in version 14.
We use manufacturing user and Manufacturing Manager.
Please again check it.
[EDIT]
Otherwise, Check it.
opened 02:43AM - 26 Jun 23 UTC
bug
### Information about bug
A user already has the role of manufacturing manager … and manufacturing user however, the user cannot manually change the status of a work order using the status button with the stop and close option.
![image](https://github.com/frappe/erpnext/assets/60758795/8c9e50a7-4051-435a-bf55-923da6e8e8ce)
Why is a non system manager cannot use the status button? Any solution on this?
to
### Module
manufacturing
### Version
ERPNext: v13.51.6 (HEAD)
Frappe Framework: v13.57.1 (HEAD)
### Installation method
FrappeCloud
### Relevant log output / Stack trace / Full Error Message.
```shell
Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 66, 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 1474, in call
return fn(*args, **newargs)
File "apps/erpnext/erpnext/manufacturing/doctype/work_order/work_order.py", line 1229, in stop_unstop
frappe.throw(_("Not permitted"), frappe.PermissionError)
File "apps/frappe/frappe/__init__.py", line 512, in throw
as_list=as_list,
File "apps/frappe/frappe/__init__.py", line 480, in msgprint
_raise_exception()
File "apps/frappe/frappe/__init__.py", line 435, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.PermissionError: Not permitted
```
Thank You!
I am using version 13. Looks like the status button feature is not permitted for the manufacturing user and Manufacturing Manager eventhough I already gave a “write” permission for the work order for both users