[T3947] FIX invoice number not saved for internal invoices from pos

Merged Macarena Meldi requested to merge T3947 into 15.0-preStable

Merge request reports