[IMP] I have fixed the issue : Purchase orders based on incoming shipment should be done when invoices are paid, not just validated.