[IMP] 7.0 account_voucher_source_document 

Just like account_voucher_supplier_invoice_number
You create a supplier invoice here. It should be a customer invoice.