After setting values on a form via client script (frm.set_value), the Save button doesn’t appear. Instead, the Actions button (from Workflow) remains visible though the status of the document shows as ‘Not Saved’
Setting the form as dirty directly via script (frm.dirty()) still doesn’t solve the issue. Is this a bug ? Would appreciate any suggestion on how to get around this without using frm.save()
I’m curious about it … Save button is always shown. Tried with a “brand new” document, before and after modification with frm.set_value …
Any specific doctype?
Changing the trigger to ‘Refresh’ seems to solve the issue… Not sure why the ‘Onload’ trigger is doing this with Stock Entry especially as it works fine on other docs