Submitt via REST/CRUD


Is there a way to submit a document using REST/CRUD?

Yeah -


Try this patch

and then you can send a POST request to /api/resource/Quotation/QTN-00002-2?run_method=submit

Note: you can also put run_method as form params if you find query params in a post request funny

Thanks for replying. Is this patch going to be included in future releases?
I’m trying to avoid customizations that will break in new releases…

This will be merged but you can avoid this customization as there’s another way
You can POST to /api/resource/Quotation/QTN-00002-2 with data as {“docstatus”: 1} to submit as well (didn’t strike me before)

Patch released today (also on You can reset hard and bench update.