frappe | Remotely shake your Android devices
kandi X-RAY | frappe Summary
kandi X-RAY | frappe Summary
:free: Remotely shake your Android devices (including emulators) using a menubar applet and the hotkey ⌘+SHIFT+R
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of frappe
frappe Key Features
frappe Examples and Code Snippets
Community Discussions
Trending Discussions on frappe
QUESTION
I made some changes in my frappe
app locally.
After that I accepted it from Visual Studio Code as I have cloned it on my system.
After that, I opened my Linux terminal and look at the status by git status, it was showing the changes I have made.
After that, I typed git commit -m "my changes".
And in last, I pushed it to the main server by git push upstream new_branch.
But right now, I only have read permission, so I could not do it.
So my question is: when I will get write permission of the main project, will I have to do this process again?
Or can I simply push it again?
Because now when I type git status, it is showing there is nothing to commit.
ANSWER
Answered 2022-Feb-02 at 08:11A simple push will be enough.
To gain write access on a remote repository does not change your local clone and local work.
Note: one does not generally push directly to upstream
, only to the default remote 'origin
' which should point to your own repository (or fork of a repository).
Once push, you can initiate a pull request with, as a target, a branch of the original upstream repository.
QUESTION
How to add jalali clock and calendar to erpNext? Is there a way to manually add the jalali calendar to ErpNext?
...ANSWER
Answered 2022-Jan-17 at 10:32You have to add lines to the below file.
QUESTION
Currently, I'm developing a custom app. So far I got the DocType ready to be filled in manually. We got files (SQLite3) that I'd like to upload, parse, extract the necessary fields of it and fill in the form. Basically like the import data tool. In my case, no bulk operation is needed and if possible do the extraction part server-side.
What I tried so far
I added a Server Action to call a whitelisted method of my app. I can get the current doc with:
...ANSWER
Answered 2021-Nov-15 at 04:43I have developed the same tool but that was for CSV upload. I am going to share that so it will help you to achieve your result.
JS File.QUESTION
I am using Frappe framework. I would like to share same data that is collected from Sign up to POS profile but keeping in mind that both of them located on different servers. Any advice?
...ANSWER
Answered 2021-Nov-06 at 18:01You can use Event Streaming.
Event Streaming enables inter site communications between two or more sites. You can subscribe to Document Types and stream Documents between different sites.
For Example: Consider you have more than one Company hosted on different sites, one among them is the main site where you want to do ledger posting and on other sites, the Sales Invoices are generated. You can use Event Streaming in this case. For this, your child company sites can subscribe to the main company site for Item, Customer, and Supplier Document Types. The main Company in turn can subscribe to the child companies for Sales Invoices.
Source: https://docs.erpnext.com/docs/v13/user/manual/en/automation/event_streaming
QUESTION
After I run frappe.db.delete(“File”) I have now this error every time I uploaded a file and I can’t create a Home folder. Any idea how to solve this? I also want to know how to create a Home folder on ERPNext.
...ANSWER
Answered 2021-Nov-04 at 16:03The solution that I have right now is to insert a Home on tabFile table.
QUESTION
I'm trying to upload a file as an attachment to my Frappe instance and running into a couple of problems. The first of which is related and a padding error is documented: in this question. I include it here just incase it is in some way part of the mistake i'm making.
My second problem, and the focus of this question is that when I upload my attachments they appear to be corrupt. A small xml file can be opened but is largely garbled. A larger PDF file will not even open. My assumption is i'm making some sort of beginner mistake with the base64 encoding.
Get data from local URL:
...ANSWER
Answered 2021-Aug-19 at 11:58I was able to find a solution that works for me.
First I used an online base64 encoder to encode a simple xml file. I then used the generated base64 string to re-create my POST using Postman (great tool, only just discovered it).
This worked and my file was attached to the specified record and not corrupted.
I then used the feature of Postman that generates code to see what it thought my base64String used for filedata should look like. I found that all the '+' characters were replaced with "%2B".
A bit of further investigation found that the query item in Swift does some of it's own percent encoding, however this answer gave an explanation why the '+' character is valid and not percent encoded by default.
The end result was that I removed my manual percent encoding from the original base64String:
QUESTION
I'm creating custom-buttons in a Client Script. This code works:
...ANSWER
Answered 2021-Jul-31 at 11:45cur_frm
is deprecated API. Why can't you use frm
from one of the JS event methods?
QUESTION
I am trying to build react prod docker container with Azure DevOps pipelines. After I upgrade my build environment and code, Pipeline failed. After some research I add "--node-flags --max-old-space-size=8192" statement my build command. But it didn't matter. I also try tried relevant node containers for a build, it didn't work.
...ANSWER
Answered 2021-Jul-04 at 12:19I was aware that the "--max-old-space-size=8192" parameter does not pass to build. So I dedided to add ENV in Dockerfile like " ENV NODE_OPTIONS="--max-old-space-size=8192"". Finally my Dockerfile transformed to:
QUESTION
I have a custom employee field called Misconduct Case Number that’s supposed to be extracted and used elsewhere outside ERPNext. The random string should be in the format [8 Alfanumeric charactors] [Date & Time] [Constant Organization Number] eg DX0FBN78 04200645 PTD0010045
For some reason, I am not able to generate the random string using the following custom script and there are no errors in the console.
...ANSWER
Answered 2021-Apr-23 at 03:28Well, for one, x
is not a number, doesn't change, and never satisfies x > 0
.
Not sure what kind of JS is supported in ERPNext, but this should work:
QUESTION
I have a project to do for school: a captor for boxer. It will be i have to connect an Arduino nano 33 ble Sense with the Bluetooth. The idea is to transfer data of accelerometer to a smartphone with an application (maybe made with MIT app Inventor). And so show to an athlete the power of his hit with the application (accelration --) force ---) power). But i didn't manage to connect my arduino to my smarthphone. Indeed, i follow a tuto to connect it. In fact, I succeed in connecting the arduino with nFr connect but I can't do anything.
the code (for bluetooth nFr connect) in question is here : (its just an example because my final goal is to do this but with the accelerometer)
...ANSWER
Answered 2021-Mar-23 at 18:27Edited to match edited code in question
To transfer your accelerometer data you could do something similar to the BatteryMonitor example:
Use notifications on your characteristic to allow your smartphone to receive changes without constantly reading manually. Readout and update accelerometer data constantly while central is connected.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
Install frappe
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page