Hello everyone!!
I want Python to manage new form data based on args from url.
Currently, I’m using frappe.call in JavaScript to send a request to Python, which returns the data. However, when I use frm.set_value in JavaScript to set the fields, it triggers field events that I don’t want.
So is there a way for Python to set the fields and have the web side just display the form?
I found function call order, still not find where to add default field value. anyone help me?? d:\frappe\frappe-bench\apps\frappe\frappe\app.py.application ("GET", "HEAD", "POST"):
I’m trying to create a new Stock Entry in ERPNext using a URL. Specifically, I want to pre-fill the item codes in the child table. However, the following URL format is not working:
I intend to specify the item codes in the items array, but it seems to be ineffective. Could someone please advise on the correct format or method to achieve this?
Thanks for your reply!
I want to create a hyperlink that, when clicked, opens a URL and automatically fills in some values. This operation is not related to the database and will not affect it in any way