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
1
vote
1 answer

Could not open kernel policy /etc/selinux/targeted/active/policy.kern for reading

by using “Easy Install” to install Frappe ERPNext with this command: sudo python install.py --production --user frappe I am getting this error: TASK [frappe_selinux : Check enabled SELinux modules]…
jstuardo
  • 3,901
  • 14
  • 61
  • 136
1
vote
2 answers

Created doctype is not showing in Frappe/ERPNext

I have created a custom doctype in ERPNext v10^, but the problem is; created doctype shows in doctype list but it's related form doesn't exist. ERPNext is in production mode and the option 'custom' is by default checked. Thanks in advance
Zia
  • 11
  • 4
1
vote
1 answer

How to remove Failed to create chart: can't acquire context from the given item error while using it with Ruby on Rails?

I installed frappe charts for ruby on rails through gem. Then I tried to run one of the frappe-chart code which is given in their website: let data = { labels: ["12am-3am", "3am-6am", "6am-9am", "9am-12pm", "12pm-3pm", "3pm-6pm",…
Souravirus
  • 301
  • 2
  • 14
1
vote
1 answer

Frappe ERPNext and quickbooks connector

I am a python developer. I need to build a connector that will sync customers between ERPNext and quickbooks(using quickbooks API). How can I achieve that? please refer me socs if available for such erpnext customization.
Nauman Sharif
  • 163
  • 11
1
vote
1 answer

whktmltopdf error while opening PDF

I have installed whktmltopdf using this link. Now it's throwing below error while opening pdf in Frappe framework. raise IOError("wkhtmltopdf exited with non-zero code {0}. error:\n{1}".format(exit_code, stderr.decode("utf-8"))) IOError:…
Shivkumar kondi
  • 6,458
  • 9
  • 31
  • 58
1
vote
1 answer

Detaching ERPNext or any frappe app from source git repository

At first, i am not refering to the original stackoverflow frappe tag. I am talking about this frappe. Normally frappe or ERPNext(a frappe app) is installed via frappe-bench, and update the installed app via this command- bench update While…
ni8mr
  • 1,725
  • 3
  • 31
  • 58
1
vote
1 answer

OperationalError: (1054, "Unknown column '' in 'where clause'")

I was trying to filter some data's from db using sale.posting_date and payment.mode_of_payment. when I try to filter using payment.mode_of_payment=Cash:I got the following error: "Unknown column 'payment.mode_of_payment' in 'where clause'" from…
LaksHmiSekhar
  • 315
  • 2
  • 7
  • 16
1
vote
1 answer

Coffeescript class syntax different in node?

I've been using coffeescript on the front end for a few years now. And am familiar with class syntax looking something like this: class MyClass methodOne : -> console.log "methodOne Called" methodTwo : (arg, arrg) -> …
Fresheyeball
  • 29,567
  • 20
  • 102
  • 164
1
vote
1 answer

Require path in nodejs frappe

So I am experimenting with nodejs, and have chosen frappe as a skeleton for learning (as I already use coffeescript on the frontend blah blah blah). Anyway I am just getting started and have encountered a problem, so noobish, I can't find an answer…
Fresheyeball
  • 29,567
  • 20
  • 102
  • 164
0
votes
0 answers

How do I predefine the contents of a cell inside a table in a dialog box in Frappe?

I'm working with the Frappe Framework, and I've already made a dialogbox insertDialog with a table named questions in it, and the table has a column qno inside it. I want the qno field to be populated with the current index whenever a new row is…
0
votes
0 answers

Event listener in erpnext v14

I have a customized the function that calculates amount in quotation since I added other fields, but when it comes Sales Taxes and Charges part (tax_amount, total) in quotation it doesn’t seem to override. I have tried some solutions so I want to…
imo
  • 1
  • 4
0
votes
0 answers

Frappe CSRF token error when i create custom html form instead of frappe web form. How to submit a custom html form through POST?

I have created an app named 'account'. In that created html form < account/account/www/signup.html >. if I put frappe.csrf_token in my script file. The console printed frappe is not defined. How to import Frappe in html. I've not found anything…
0
votes
0 answers

This error where add frappe erpnext after bench update

after some changing in ERPNext, update the bench by suing command bench update --reset bench migrate bench clear-cache but face error then try to update config file but error still appear after login to site. how to resolve this issue, please…
G2R
  • 1
  • 1
0
votes
0 answers

ModuleNotFoundError: No module named 'frappe.model'

import frappe from frappe.model.document import Document class ServersideScripting(Document): def validate(self): frappe.throw("hello") when I try to run this script from serverside scripting it throws the following…
0
votes
0 answers

How can override a class method in controller ERPNext 14

I have been trying to override the method (calculate_item_values) in the controller (taxes_and_totals.py) by my own custom formula but it doesn't seem to work but when I tried for a doctype class method (Quotation) it did override should i try…
imo
  • 1
  • 4