Save function added in 15.1.95

I seem to be having issues when saving file. The files text disappears and is a mess.

Is there an issue with this function?

Yes, the function works OK on most reports but doesn’t really work on invoices and other documents. I will keep gradually improving in upcoming days.

thanks @lubos