[T5366][FIX] try to save ml_number on invoice from order or context

Merged Javier Vescio requested to merge T5366 into 17.0

Merge request reports