Invoice submitted but showing not saved

Hi all,

My question is after submitting invoices status is showing “submitted” but when we open that invoice showing “not saved”.

What is the reason?

Thanks
Praksh N

Do you have any custom scripts affecting invoices?

Thanks! custom script was the problem.