Warehouse selection on Each Item

I have installed ERPNext. I want to enter warehouse on each item of the invoice, But I am not able to customize the pop up window that appears on stock item. i.e We just want to have warehouse in that popup. Is it possible ??

In the Purchase Invoice, if you check “Update Stock”, you will be able to select the “Accepted” and “Rejected” warehouse at each item level as shown in the screenshot below.

The same goes for the Sales Invoice.

Could you please elaborate on the popup that you are referring to?

I am getting below popup on each item of sales invoice

I just need warehouse field on this popup. but I am not able to customize it