Wednesday, June 5, 2024
1 change · 17.0
Enhancements to existing features
This update improves how foreign currencies are handled when synchronizing bank transactions from Odoofin. The system now automatically activates foreign currencies, properly converts currency codes to currency IDs for correct display, and prevents validation errors. This ensures smoother bank reconciliation for companies dealing with multiple currencies.
Original PR description
...d on foreign_currency_code received from odoofin Send `include_foreign_currency` to odoofin to avoid throwing errors when odoofin returns `foreign_currency_code` and `amount_currency` for customers that don't have the fix. Convert `foreign_currency_code` to corresponding `foreign_currency_id` in order to be displayed correctly alongside the amount in `account.bank.statement.line` To avoid a validation error(Currency is not activated) pop up for every foreign currency resides in transactions received from Odoofin while fetching transactions, Automatically activating foreign currencies. Remove foreign_currency_id and amount_currency from retrieved transactions in `Fetch Missing Transactions` flow in order to not break the flow in stable.(These fields will be added to `account.bank.statement.line.transient` in master) Odoofin PR: https://github.com/odoo/odoofin/pull/265 task id: 2870614