This module extends Odoo's accounting and company configuration features by adding the capability to automatically manage analytic distribution for currency exchange gains and losses. When an exchange difference is created, it automatically assigns the appropriate analytic distribution to the accounting entries based on the company settings.
Features:
Analytic Distribution for Currency Exchange: Automatically assigns an analytic distribution to currency exchange gain/loss journal entries based on the company configuration.
Company Configuration: A new field is added in the company settings to define the analytic account to use for currency exchange differences.
Validation: Ensures that the company is properly configured with the necessary analytic account for exchange differences. If not, an error is raised when creating the exchange difference journal entry.