Is there a way to programmatically re-open a closed order? I mean, to cancel programmatically, we use the .cancel()
and to submit, we use .submit()
. Is there anything similar for re-opening orders? If not, what can be done to achieve this?
Try:
doc.update_status("Re-open")
A simple lookup in sales_order.js and sales_order.py could have helped you quickly.
1 Like