Why, in multi currency, does voucher payment create a move line with debit=0, credit=0 and amount_currency=2*amount_residual_cur
Hello, We are trying to pair an invoice with a credit note, to make a reimbursement, in a currency different from the company's currency. After validation it generates a move line with credit and debit equal 0, but with amount_currency = twice the amount we are pairing. It seems that the problem is located in account_voucher.py: foreign_currency_diff = sign * line.move_line_id.amount_residual_currency + amount_currency (line 1177) thanks in advance
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 8/7/13, 2:25 PM|
|Seen: 972 times|
|Last updated: 3/16/15, 8:10 AM|