Hi,
I need to know if we can set limit for doctype or not. I tried to set limit for company in site_config.json but its not working.
Kindly help, thanks!
Hi,
I need to know if we can set limit for doctype or not. I tried to set limit for company in site_config.json but its not working.
Kindly help, thanks!
Its for limiting a site, for example to have only two companies.
Thank you! will try this.
Cool
What are the possible limitations once can apply?
You can limit users, company etc. Will try and confirm.
Hi,
I tried installing that app in my bench , got the below error,
I gave the below command, not sure what went wrong
bench get-app Restriction/restriction at master Β· maisonarmani/Restriction Β· GitHub
Gotta include the app name when installing
I tried the same command, still got the below error,
INFO:bench.utils:./env/bin/pip install -q -U -e ./apps/restriction
ERROR: Command errored out with exit status 1:
command: /home/frappe/frappe-bench/env/bin/python3 -c βimport sys, setuptools, tokenize; sys.argv[0] = β"β"β/home/frappe/frappe-bench/apps/restriction/setup.pyββ'ββ; file=ββ'ββ/home/frappe/frappe-bench/apps/restriction/setup.pyββ'ββ;f=getattr(tokenize, β"βββopenβββββ, open)(file);code=f.read().replace(βββ"β\r\nββ'ββ, β"β"β\nββ'ββ);f.close();exec(compile(code, file, β"βββexecβββ"β))β egg_info
cwd: /home/frappe/frappe-bench/apps/restriction/
Complete output (5 lines):
Traceback (most recent call last):
File ββ, line 1, in
File β/home/frappe/frappe-bench/apps/restriction/setup.pyβ, line 3, in
from pip.req import parse_requirements
ImportError: No module named βpip.reqβ
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Nope, u can see the error above. I am using frappe docker for local site, not sure why i am getting this error. I will try and update.
Its 12.3.1