Questions tagged [frappe]
Frappe is an open source full stack, low-code Python + JS web framework
145
questions
0
votes
0
answers
18
views
Getting error while Configer Linkedin to ERPNext
Am using the below documentation for the social media linked in campaigns and trying to make configuration and did how the documentation is guide as per.
https://docs.erpnext.com/docs/v14/user/manual/...
0
votes
1
answer
24
views
ASP.NET, Frappeframework, CookieContainer, HttpClient, Set and Usage
I'm trying to connect to frappeframework using ASP.Net MVC.
I must use "Password Based Auth" like stated in number 2 here : https://frappeframework.com/docs/v14/user/en/api/rest
I call rest ...
0
votes
1
answer
51
views
How to properly configure Exchange email account as incoming and outgoing in Frappe?
As of February 2023, Microsoft disabled SMTP authentification, so password-based logins don't work. A solution similar to GMail with user/application token seems difficult too as Microsoft tokens are ...
0
votes
1
answer
53
views
Add new domain system on Erpnext
I've installed ErpNext using Docker easy install method. I didn't see any domain option while setting up first time. I want to add Non Profit and Education domain to the Erpnext app.
Please help me to ...
-1
votes
1
answer
37
views
When I need to install (bench) given file missing Ubuntu?
Hello Friends When I need to install bench after get repo from GitHub Given to me that setup.py not found.When I compare between all file I didn't find it on original repo
pip install -e ./bench
This ...
2
votes
0
answers
211
views
How to install Docker / ERPNext on Apple M1?
I have been trying to install ERPNext in Docker on my M1 MacBook Pro using this example: https://github.com/frappe/frappe_docker/blob/main/docs/single-server-example.md
I struggled when deploying ...
0
votes
0
answers
31
views
In an array of JSON objects, access first json object from within the second json object in the array [duplicate]
frappe.query_reports["Script Report"] = {
filters: [
{
fieldname:"purchase_order",
label: __("Purchase Order"),
fieldtype: ...
0
votes
1
answer
76
views
does frappe.db.commit() not work in server script in Frappe Cloud?
HI I am writing a server script in Frappe Cloud where I am trying to update a particular doctype(which is NOT THE DOCTYPE I HAVE CHOSEN IN DOCTYPE EVENT) using frappe.db.set_value(), then in order to ...
0
votes
1
answer
312
views
Trouble Installing Frappe on Docker
As I have stated in the title, I'm having trouble installng Frappe/ERPNext on my Docker. I followed instructions from their official Github repo here.
After opening frappe_docker folder in VSCode, ...
0
votes
1
answer
42
views
imaplib.IMAP4.error: got more than 20480 bytes when configured A gmail account for a Frappe Project
I have configured one Gmail id for default inbox inside email Account list, I am geting an Error . When a new email is recieved in the email inbox.
Step to reproduce :
configure new email to Email ...
1
vote
1
answer
56
views
Custom middleware to redirect user based on a role based on certain checks
I am trying to customize my frappe app based on a role.
user with Role Website logs in.
Check if the user has company set
If it is not set then redirect them to a custom page where they can select ...
0
votes
0
answers
133
views
How can I get images from API in Custom print format instead of frappe files?
I have created a custom print format where I can print all form data using Jinja but there are some base64 images that I am storing on external server and I want to get those images and display it on ...
0
votes
0
answers
194
views
Frappe save objects in another doctype based on the base doctype?
I am tring to trigger an event to save doctype data based on another doctype.
This is how my doctype are:
Employee has a Job Role.
Job Role has tow doctypes as Table 'Job Role Course Item' and 'Job ...
0
votes
1
answer
92
views
Warning: MariaDB version ['8.0', '31'] is less than 10.6 which is not supported by Frappe
I am trying to create a new site bench new-site library.test
Warning: MariaDB version ['8.0', '31'] is less than 10.6 which is not supported by Frappe
Installing frappe...
Updating DocTypes for ...
0
votes
1
answer
67
views
ERPNext: Modifying the search pop-up on Purchase Invoice form
When I add multiple items under (New Purchase Invoice) as shown below, it gives me the only two items I created so far in order to assign them to the supplier selected.
I need to add two more rows in ...
0
votes
1
answer
117
views
ERPNext Web Template - How to show specific category of Blog Posts
I want to show only a select/specific category of Blog Posts in Webpage Section added using the built in Page Builder.
Have created this Web Template in EPRNext to Show Blog postings on any WebPage by ...
0
votes
0
answers
81
views
How to make the ERPNext auto clicked the button in client side?
How to auto clicked once on the Generate Payables when there is a value in Sales Agent Name?
Generate Payables
0
votes
1
answer
149
views
Move last two or one row data if another section of data goes to next page in print format
I have a html page for a print view. This page contain some data from back-end. There are a header section, item table section and signature section. Item table data comes dynamically that may have ...
0
votes
0
answers
37
views
Error while "Add child" in chart of account ERPNext Frappe
I am very new to ERPNext, I am trying to add one entry in Chart of Account ERPNext, using **Add Child" as shown in the below screen shot:
But it is showing me error in console as below:
It is ...
0
votes
0
answers
30
views
How to use NuxtJS from CDN or load app from inner folder
I'm using Frappe Framework to develop a custom app and I'm looking to use NuxtJS for the app's Portal.
A frappe app's folder structure is like this:
custom-app/
├─ custom-app/
│ ├─ www/
│ │ ├─...
0
votes
0
answers
27
views
Change name of the document where the data is stored when webform has been submitted
When an user submits a webform, the data is stored in a document with a random ID like "5c58393da6". Is it possible to give the document a name, for example use the input in one of the form-...
0
votes
0
answers
38
views
Why is '}' in Jinja frappe can replace {% endif %}?
This is the frappe core code,
{% if name == 'Property Sales' { %}
<ul>
<a>bla bla bla</a>
<li>bla bla bla</li>
</ul>
{% } %}
What this the { in the 1st line ...
0
votes
1
answer
267
views
Convert ERPNext from Docker to regular install
I would like to install apps on my frappe bench installation. Unfortunately I used the Docker image to install the ERPNext bundle. I did not realise at the time that this setup does not allow the ...
-1
votes
1
answer
124
views
Why doesn't Date be changed in Frappe Gannt's custom_popup_html
I will start using frappe gannt.
Even though I move task bar, progress and date not worked in custom_popup_html!
like these below.
before moving
[![enter image description here][1]][1]
after moving
[![...
0
votes
1
answer
834
views
ModuleNotFoundError in vs code Frappe import
Unfortunately, I always get this error message with Frappe, so I ask you that you can maybe help me and give me a few types. Thank you and I'll be happy to wait for your answer. Thanks
Error:
...
-2
votes
1
answer
1k
views
Redis cache server not running. Please contact Administrator / Tech support on bench serve --port 8001
Basically im working on frappe framework of python,
When i run “bench serve --port 8001” the server is started and im able to login too, but im getting an exception “Redis cache server not running. ...
0
votes
0
answers
30
views
titile_field and search_field in Link field Script Report
How to make the filter show the full_name at the top and email (this is id) at the bottom? This report filter is link to a doctype tabUser.
i refer to this https://github.com/techmaxsolucoes/...
0
votes
1
answer
195
views
frappe.get_url return http:// but not https://
I am using frappe v14, however, when I use frappe.get_url in jinja2, it return me http://xxxx, but not https://xxxxx, may I know if I miss any setup. I am using https://xxxx for visiting
0
votes
1
answer
368
views
How to use “IS NOT NULL” filter in frappe.get_list?
Problem:
when i bench execute using frappe.get_list, nothing happen, i tried
("!=", “null”)
("!=", “None”)
("!=", “”)
i think the second parameter is wrong.
...
0
votes
0
answers
174
views
Restrict User wise doc list view
Suppose I have a doctype name ‘Export File’. there are multiple types of users. All of them can create new files from the ‘Export File’ doctype. But I want to make restrictions.
Only the creator can ...
0
votes
0
answers
117
views
i try to install custom erp in windows its successfully installed.and after i try install the app in mysite but its thrown error like this
frappe@23a8618099ff:/workspace/development/frappe-bench$ bench --site softsuave.localhost install-app ss_custom_erpnext
Installing ss_custom_erpnext...
Updating DocTypes for ss_custom_erpnext: [=======...
0
votes
0
answers
107
views
Unable to init frappe-bench on MacOS
I'm trying to install erpNext on my MacOS. I followed the link below to set up frappe-bench:
https://frappeframework.com/docs/v13/user/en/installation#macos
Bench CLI installed successfully but when I ...
0
votes
0
answers
218
views
Users cannot add rows with the same item twice. If do, then show an error message and remove the row/item from row
I have a vehicle price doctype. In this doctype, I have a child table that has two field names (vehicle item, item price). Users can add multiple rows but when a duplicate row is added then it should ...
1
vote
1
answer
503
views
Add multiple images on Frappe DocType field
I want to add multiple images to the Frappe DocType field. I have made a DocType and have a field name image. In this field, I want to add multiple images from users.
I don't know how to implement it.
0
votes
1
answer
713
views
Add app into left side menu bar on Frappe ERPNext
I created a frappe bench and installed a new app named Vehicle_Management. I want to show this app module on the left side menu bar on my ERPNext. I am new to this framework. Please let me know how I ...
0
votes
0
answers
301
views
Leaving field label empty in Frappe DocType fields results in empty header in reports view
I want to hide the field labels in custom form - to provide a table like data input option. Successfully achieved by just leaving the Label empty.
But this results in Reports view showing no header ...
0
votes
1
answer
335
views
Frappe Gantt chart date not aligning with correct date
I'm using the frappe gantt chart package & setting the start date as "2022-04-18" but for some reason the bar is showing as one day before, is there a way for me to set an offset to ...
1
vote
1
answer
133
views
400 Bad Request for frappe.cloud API
I'm getting 400 Bad Request for frappe.cloud API, when I'm trying to call it using golang code using http.NewRequest, this API is working fine when I check it using postman. following is the API
https:...
0
votes
1
answer
229
views
ERPNEXT - docker frappe/erpnext-nginx:v14 - host not found in upstream "${BACKEND}" in /etc/nginx/conf.d/default.conf:2
Anyone more are using the docker available in frappe/erpnext-nginx:v14?
I´m having the error
host not found in upstream "${BACKEND}" in /etc/nginx/conf.d/default.conf:2
Did I miss some ...
-1
votes
1
answer
68
views
Where to find the documentation for frappe on the github repo?
I'm on the frappe github repo and I need to find the folder that contains the documentation to contribute to it. A link to it would be super helpful .
0
votes
1
answer
100
views
Frappe - Patches do not get executed when installing app
We are developing a custom app. The custom app has some patches defined in patches.txt.
Now, when we install the custom app on the site, say
bench --site [sitename] install-app custom-app
The patches ...
0
votes
1
answer
545
views
Installing ERPNext on Ubuntu 20.0.4. SIGTERM being sent to Redis
I am following this tutorial, to install ERPNext on my Ubuntu 20.0.4 LTS OS.
I managed to follow all the instructions, however, when I run bench start, the system fails to start.
Here is the console ...
0
votes
0
answers
94
views
No module named 'gspread'
Below file runs successfully when run direct on the console, but give an error: No module named 'gspread' on server
import gspread
from oauth2client.service_account import ServiceAccountCredentials
...
0
votes
0
answers
170
views
Creation of your site - site2 failed because MariaDB is not properly configured to use the Barracuda storage engine
I am facing below mentioned issue when i am creating the new-site
Creation of your site - xxx failed because MariaDB is not properly
configured to use the Barracuda storage engine.
Please add the ...
0
votes
1
answer
640
views
How to draw a complex Gantt chart in react?
I am trying to build a gantt chart, wherein a single row can have multiple horizontal boxes. Something as shown in the below image.
image-1.
I have explored following react packages, but seems no one ...
0
votes
0
answers
1k
views
How to insert data to child table in FrappeClient? And also date to date field in erpnext?
I have two problems:
1) I'm trying to insert data to a child table, "operator_staff", of a doctype. But showing this error. Getting this error only when i try to insert data to child table.
...
0
votes
1
answer
537
views
How to update mark a form dirty after a server side modification
I don't understand how to make the Client ui aware of a server side change in a document.
My use case is the following : I'm adding a button to my form, that calls a custom document method :
In ...
1
vote
0
answers
481
views
How to connecting my web application to socket io in frappe (Docker local development)
So I want to connect my web application that was made from react to frappe. I have already installed the socket io client and connected it to the other socket io server. It was successful when I tried ...
1
vote
1
answer
354
views
what is the difference between Document and Database in Frappe framework?
I'm a newbie in the Frappe framework, in the Frappe documentation, I encountered two different ways that can store data which are: "Document and Database API" all I know is that both of them ...
0
votes
0
answers
135
views
Is there a password_reset hook in frappe framework?
I have a requirement where i want an item for a doctype to be created when the user signup.
i can use ‘on_session_creation’ hook which gets called when the user logs into the system for the very first ...