BUG: V12 Sales Invoice is Removing Customer PO Number

When creating a new sales invoice without sales order. The PO is being reset to blank.

Is there a quick fix?

First capture the purchase order from customer then create the invoice

This shouldn’t be a pre-requisite. If it is, PO should be read only on sales invoice