wrong amount when recalling deposit onto invoice of different currency
I may be misunderstanding how to use the account_deposit module, but the currency of an invoice does not seem to be taken into account when recalling a deposit onto the invoice.
EG:
With a company that has a currency of GBP:
a deposit of 300 USD (200 GBP) is paid to a supplier.
the account move for the deposit is entered on as 200 GBP, second currency 300 USD.
the deposit is recalled onto an invoice of 1000 USD.
the line that is added to the invoice is for -200, leaving 800 USD to pay.
If someone can confirm that this is an issue and suggest the best way of resolving this I can attempt to fix this.