currency_rate_update
Provides a base framework for configuring and scheduling automatic currency rate updates sourced from external providers including the ECB.
Key Features
- res.currency.rate.provider: Manages per-company exchange rate providers with configurable currencies, scheduling controls, and chatter tracking.
- res.currency.rate.provider: Fetches rates for configured currencies, creates or updates currency rate records, handles inverted rates, and records success dates.
- res.currency.rate.provider: Posts notifications when a provider fails to fetch rates, aiding operational monitoring.
- res.currency.rate: Tracks the provider origin of each rate and clears that link when manual edits occur.
- res.company: Adds a company-level flag enabling automatic currency rate updates.
- res.config.settings: Surfaces the automatic currency rate toggle in the configuration interface for each company.
- res.currency.rate.update.wizard: Lets users manually run updates for selected providers over a chosen date range.
- ECB service: Supplies a built-in provider that downloads European Central Bank reference rates and adapts conversions when the company currency is not EUR.
- automation: Schedules a daily cron job that triggers provider updates according to their configured intervals.