Hello! I’m new using Frappe/ERPNext and I have a task to do.
The company is a group of 15 companies or so and when I need to make a new entry regarding intercompany transfers, I have to make an outcome entry for the main company and then make an income entry for one of the companies involved.
Is there a way to customize a form so I can make this entry once for both companies?
Is there a topic related to this?
I saw some instructions of creating custom doctypes by creating an app with bench commands, everything went well until install-app, the UI start crashing saying that a module was not found.
I’m using the frappe_docker repo for this. Is this the correct way?
I’ve read about this and seems to be the way for it, but it was so difficult creating a new field that I’m not really sure now on what is not working after doing some tests. Keeps making just one register.
Hey, I was trying all these days to make a server script for this, but I’m getting NameError: name ‘inplacevar’ is not defined every time and I can’t find where.
I’m getting an error saying both debit and credit cannot be zero, but these are the unused fields of that line. I can’t print type() in server script and I really don’t know whats going on. I tried empty fields as well and getting the same error.
What have you done to troubleshoot? Are you sure accounts[0].debit and accounts[1].credit have values when the script gets called? You can output values to the javascript console by calling print().
I’m pretty sure, I’m using frappe.msgprint() to show the values after saving.
I get the debit from the first account row (credit is empty) and then the credit from second row (debit is empty).
I’m basically mirroring the values I already have, but there’s no warning keeping those fields empty while doing from the UI