Tryton Version 2.2.0 "Secondary Currency" for account seems to be ignored for
most account moves except invoice payment. Is someone of you guys having
experience with "Secondary Currency" on accounts?
The fields "Amount Secondary Currency" stay at 0.00 - the field "Secondary
Currency" stays empty.
One could add the values manually - but I don't think this is the intention.
tested on Tryton 2.2.0 demo server + on my own 2.2.0 servers.
Maybe I have missunderstood "Second Currency" but in the documentation for 2.2.0
its written: "Second currency: Force all moves for the account to have this
secondary currency." which it does not.
scrapperadded 1 deleted label and removed 1 deleted label
Further information on that topic:
I think there is a conflict between these two statements.
1)
Account:
Second currency: Force all moves for the account to have this secondary currency.
2)
Move Lines:
Second Currency and Amount Second Currency: allow to keep track of the original
amount if the underlying transaction was made in an other currency.
So what should it actually do now?
1) or 2)?
Because they are not the same thing.
scrapperadded 1 deleted label and removed 1 deleted label
Here is review28841002 which implements it.
But I still have a doubt about the deferral process. For now, I did not change it so this means that if a non-deferral account has a second currency, the wizard will fail. I could just use in this case the opposite amount but this will be based on any existing currency rate.
But the first question is if it is logical to have a second currency for a non-deferral account (P&L). I think it is not because we want to keep track of second currency only for accounts like cash, payable or receivable.
If we agree, I will update the review to prevent to set a second currency on non-deferral accounts.
Cédric Krieradded 1 deleted label and removed 1 deleted label
Indeed I also think the receivable/payable should not have a second currency.
Otherwise in some cases it will not be possible to post an invoice because the currency of the invoice is not the second currency of the payable/receivable account. But of course the amount in the second currency should still be written on the receivable/payable line for reconciliation purpose.