You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here the use case is, for an journal in company currency (USD) when you have a line with foreign_currency_id and amount_currency set.
Set up (run bash script at then end)
Active CNY currency
Create a rate for the CNY currency : 0.125989013758 USD per unit for 2024-09-10 and 0.126225969731 USD per unit for 2024-09-09
create a statement line on default bank journal (in company currency USD) on the 2024-09-10, with amount 500, foreign currency : CNY and amount currency 3968.25
create an customer invoice in CNY currency for an amount of 3968.25
Here screen shot from Odoo enterprise where all seems ok .
Default screen on the reconciliation UI, we see the counterpart in CNY because it is the foreign currency
When we select the invoice with same amount in CNY, we have a full reconciliation, with de exchange loss because Odoo rate is not the same as the one from the bank.
Then the invoice is fully reconciled :
Same steps with OCA module :
In default screen of reconciliation UI, we do not see the foreign currency amount but the USD one. It does not help us so choose the right invoice :
Then when selecting the invoice, we have a suspense line instead of a income exchange line, and the amount in currency is wrong.
Then the reconciliation is impossible, because of unwanted suspense line.
Doing the same test, only changing the date of the invoice from 2024-09-10 to 2024-09-09, the exchange line become an expense, the result is even stranger :
The exchange line should be 90 cents instead of 94 and we should not have the last line, which is a suspense line.
Hello @etobella
Here the use case is, for an journal in company currency (USD) when you have a line with foreign_currency_id and amount_currency set.
Set up (run bash script at then end)
Here screen shot from Odoo enterprise where all seems ok .
Default screen on the reconciliation UI, we see the counterpart in CNY because it is the foreign currency
When we select the invoice with same amount in CNY, we have a full reconciliation, with de exchange loss because Odoo rate is not the same as the one from the bank.
Then the invoice is fully reconciled :
Same steps with OCA module :
In default screen of reconciliation UI, we do not see the foreign currency amount but the USD one. It does not help us so choose the right invoice :
Then when selecting the invoice, we have a suspense line instead of a income exchange line, and the amount in currency is wrong.
Then the reconciliation is impossible, because of unwanted suspense line.
Doing the same test, only changing the date of the invoice from 2024-09-10 to 2024-09-09, the exchange line become an expense, the result is even stranger :
The exchange line should be 90 cents instead of 94 and we should not have the last line, which is a suspense line.
Shell script :
The text was updated successfully, but these errors were encountered: