Repository
OCA/account-invoicing · module folder · Try on Runboat
Module version
1.0.0
Category
Accounting/Accounting
Folder size
0.06 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/account-invoicing
Last tracking update
2026-08-03 18:04:21
Authors
Odoo Community Association (OCA), Camptocamp
Maintainers
Odoo Community Association (OCA), Camptocamp
Committers
OCA-git-bot, oca-ci, Maksym Yankin
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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.

Code Analysis

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.