hi community
can any one already change workflow state for an doctype entry via code (js or python) how to.
Regards
hi community
can any one already change workflow state for an doctype entry via code (js or python) how to.
Regards
That’s a good question I’ve already had some issue like this but I’ve doens’t use the workflow, I’ve created my own state and was easy to control everything.
@SOLOSOFT
Yes you change .
for js using
cur_frm.doc.workflow_state you can chnage state
for py.
self.workflow_state you can use in validate()