Questions tagged [frappe]

Frappe is an open source full stack, low-code Python + JS web framework

Frappe is an open source, full stack web framework, low-code web framework, which was originally built for ERPNext, but now powers many business applications.

184 questions
0
votes
0 answers

Calculate date to be end of next month

I have a function in frappe which I use to calculate the invoice due date. I have 4 types of customer credit terms 0, 7, 14 days from posting_date and 30 days from last date of invoice month — i.e. if invoice is raised on any date in May…
MonoJoker
  • 1
  • 4
0
votes
1 answer

Comparing date in sql with custom date

I was trying to compare a custom date with date field in sql.I done the following query but it returned an error and rightfully so. I have my date value in date1 and want to comapare it with sale.posting_date.I tried reading the related posts…
LaksHmiSekhar
  • 315
  • 2
  • 7
  • 16
0
votes
3 answers

TypeError: can only concatenate tuple (not "int") to tuple

i am trying to return a value from db and getting this error.I tried the previously answered questions here,but no luck.Can anyone help me? @frappe.whitelist() def generate_barcode(): last_barcode = frappe.db.sql("""\ select…
LaksHmiSekhar
  • 315
  • 2
  • 7
  • 16
-1
votes
0 answers

Create a DocType like Interface, based out of the fields of a Doctype Object - Frappe Python

I am currently working on a project based out of Frappe Framework(Python). The requirement is as follows: A DocType named Form, which has a table field type with field as DocField. Basically mimicking the DocType. This is named as form_fields The…
rajkris
  • 1,775
  • 1
  • 9
  • 16
-1
votes
2 answers

JavaScript - how can i import frappe chart correctly without using link?

I want to import frappe by using the following code import { Chart } from "frappe-charts/dist/frappe-charts.min.esm"; I already downloaded frappe-charts package and put it into my project package. But it always shows: "Uncaught SyntaxError: Cannot…
i i
  • 9
  • 2
-1
votes
1 answer

How to create a new document of bill doctype each time a customer completes an order

I am completely new to Frappe framework and have never dealt with backend or API before I was assigned the following task, which is when the customer clicks on the Submit button to complete his order, a new document from bill doctype should be…
SM9
  • 1
-1
votes
1 answer

Getting this error when trying to setup bench on my mac with os catalina: ERROR: No matching distribution found for RestrictedPython~=6.0

(base) sarthakkatiyar@sanjay-mishra-3 ~ % cd ~ bench init frappe-bench Setting Up Environment $ python3 -m venv env $ /Users/sarthakkatiyar/frappe-bench/env/bin/python -m pip install --quiet --upgrade pip $…
-1
votes
1 answer

Welcome emails sent by Frappe framework are missing the port number

When using Frappe framework and changing the Nginx port from 80 to 8002 to avoid conflicts, I get broken URLs in all emails sent by the system. The port was changed using bench set-nginx-port 8002. The ports 80 and 8000 are already busy in the…
Esraa Abdelmaksoud
  • 1,307
  • 12
  • 25
-1
votes
2 answers

Report Error in ERPNEXT cloud base frapppoecloud

Error whenever i creat the report i found this error any one help me to resole this .. what is the issue !!!
Jack
  • 1
-1
votes
1 answer

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 Error Directory './bench' is not installable.…
-1
votes
1 answer

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 [![enter image description here][2]][2] Date…
apo1948
  • 5
  • 2
-1
votes
1 answer

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 .
-1
votes
1 answer

Translate Erpnext workspace to different languages

Hello I have faced problem whenever I change language for workspace in erpnext it never fully translates everything. Any Advice how to make translations easy, fast and simple example
-1
votes
1 answer

Add custom app on desk using Frappe + ERP

So i was a beginner using this framework. I don't know how to add custom app on the desk. I was following the tutorial by add desk.py and insert my code there. after bench migrate and nothing happend. I'm following tutorial from this link.
-1
votes
1 answer

Selenium send_keys way too fast

I'm implementing Selenium (Python), but whenever I enter a send_keys("bla bla bla") the system can't handle it. It's literally bugging. The text erases himself or just keep the last part of the word. Is there any way we can make it slow down a bit…
mr info
  • 33
  • 2
1 2 3
12
13