Tax Fixed Amount Currency
account_tax_fixed_amount_currency · OCA/account-invoicing
-
Security25/25No findings
-
Activity25/25Last human commit 6 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 19.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module allows fixed-amount taxes to have their amount expressed in a specific currency instead of the document currency.
When a currency is set on the tax, the fixed amount is automatically converted to the document currency at invoice time using the appropriate exchange rate.
Three conversion scenarios are supported:
- Tax currency = document currency: no conversion is applied.
- Tax currency = company currency: the amount is converted using the document's exchange rate.
- Tax currency is a third currency: the amount is first converted to the company currency, then to the document currency.
The conversion rate is determined at the invoice date, not the current date, ensuring accurate historical conversions.
This module is compatible with account_tax_fixed_amount_multiplier without
depending on it. When both modules are installed, multiplier modes such as
product quantity or product weight adjust the fixed-tax quantity first, and
this module converts the resulting fixed amount to the document currency.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_tax_form |
account.tax | form | Inherits account.view_tax_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
-
currency_idMany2one → res.currencyhelp='When set, the fixed amount is expressed in this currency and will be converted to the document currency at invoice time. Leave empty for the standard behavior (amount in document currency).' args: 'res.currency' -
currency_rateFloatcompute='_compute_currency_rate'help='Conversion rate from the tax currency to the company currency.'
No public methods.
Loading…