"Quantity must not be empty" when creating PO credit note

Dear All,

 I have an invoiced purchase order I need to create a credit note for it, so  i created a new Purchase order and click credit note. then choose the original PO i need to cancel. when click OK I got that error "Quantity must not be empty. Update has been canceled." although the quantity is not empty.