Skip to content
Health
60/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 6 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 19.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis 0 migration notes 1 model 1 view 0 HTTP endpoints

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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 1

XML IDNameModelTypeStatus
view_tax_form account.tax form Inherits account.view_tax_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 1

New fields (2)
  • currency_id Many2one → res.currency
    help='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_rate Float
    compute='_compute_currency_rate' help='Conversion rate from the tax currency to the company currency.'
Public methods (0)

No public methods.

Loading…