FIX sale_multiple_invoice with new api bug