I have created a new DocType called Zone and now I want to add a field (Zone) of type link and link the new DocType (Zone) in Customer DocType in Selling module.
When I click on Add Row button a new row is added but I cannot edit anything in it.
Why is this happening?
How can I add a new field of type Link to Customer DocType?
When I am running this command after sudo su I am getting a warning
WARN: You should not run this command as root
How to solve this?
If I run the command as regular user I am getting following error
bitnami@ip-172-31-91-101:~/stack/erpnext/bench$ bench set-config developer_mode 1
WARN: bench is installed in editable mode!
This is not the recommended mode of installation for production. Instead, install the package from PyPI with: `pip install frappe-bench`
WARN: Command not being executed in bench directory
Usage: bench [OPTIONS] COMMAND [ARGS]...
Try 'bench --help' for help.
Error: No such command 'set-config'.
First, the advice you’ve gotten here is incomplete and potentially misleading.
Under most circumstances, you don’t want to use developer mode to customize standard doctypes. Instead, you should use the Customize Form tool. Anything you change in developer mode will be wiped out on your next update, whereas the changes your make via Customize Form tool will remain.
Second, your bench issue is odd. Can you share the output of bench --version?
I guess you run bench out bench env.
You may able to get bench env folders on your machine if you run bench find.
However
What version of frappe you running?
Is your user which used has System Manager Role?
Can be sure if System Manager Role has write access on Customize Form?
You can examine it from Role Permissions Manager and select Customize Form in Document Type filed.