Customer Name is Null when get Item from Quotation in Sales Order

how to change from this script?
while taking items from the sales order on the sales invocie goes normally,

just taking the item from the quotations at the sales order there is a problem, I hope to get help, thank you