[FIX] purchase: fix the problem for invoice while delivery order