Control how the quantity is computed for fixed-amount taxes: standard line quantity, quantity in product UoM, or no multiplier.
Project description
Tax Fixed Amount Multiplier
This module adds a multiplier option to fixed-amount taxes, controlling how the line quantity is used in the tax computation.
By default, Odoo computes fixed taxes as line quantity × amount. This module allows choosing between four multiplier modes:
No Multiplier: the amount is applied once per line, regardless of quantity. Useful for per-document fees (e.g., stamp duties).
Quantity (default): standard behavior, equivalent to line quantity × amount.
Product Quantity: the line quantity is first converted to the product’s unit of measure before multiplying. This is useful when the tax is defined per unit of the product, but the line may use a different UoM (e.g., selling in dozens while the product is defined in units).
Product Weight: multiplied by the total weight of the products on the line (product quantity × product weight). Useful for weight-based fees such as environmental levies.
This module is compatible with account_tax_fixed_amount_currency without depending on it. When both modules are installed, the selected multiplier changes the fixed-tax quantity first, and the currency module can then convert the resulting fixed amount to the document currency through the normal tax computation chain.
Table of contents
Use Cases / Context
In standard Odoo, fixed-amount taxes are multiplied by the line quantity as entered on the document. This means that if a product is sold in dozens, the tax is multiplied by 1 (the line quantity) instead of 12 (the actual number of units).
This can be problematic for taxes or fees that are defined per unit of product, such as:
Per-unit recycling fees: a fixed fee per unit sold, regardless of the unit of measure used on the sales line.
Per-kilogram levies: a fee based on the total weight of the products sold (e.g., environmental taxes on volatile organic compounds).
Per-document stamps or duties: a fixed fee applied once per line, regardless of the quantity.
This module addresses these use cases by allowing to control how the quantity is interpreted in the tax computation.
Configuration
To configure this module, you need to:
Go to Invoicing > Configuration > Taxes.
Open or create a tax with Tax Computation set to Fixed.
Set the Amount Multiplier field to the desired mode:
No Multiplier: the tax amount is applied once per line.
Quantity (default): standard behavior, multiplied by the line quantity regardless of the unit of measure.
Product Quantity: the line quantity is converted to the product’s unit of measure before multiplying.
Product Weight: multiplied by the total weight (product quantity × product weight).
Usage
Product Quantity mode is useful for per-unit taxes where the product may be sold in different units of measure.
For example, if a product is defined in Units and has a per-unit tax of 5.00, selling 1 Dozen will compute the tax as:
1 dozen = 12 units → tax = 12 × 5.00 = 60.00
This also works with nested UoM hierarchies. For example, selling 1 Box of 10 Dozens will compute:
1 box = 10 dozens = 120 units → tax = 120 × 5.00 = 600.00
Product Weight mode is useful for weight-based fees. For example, with a levy of 3.00 per kilogram and a product weighing 2.5 kg:
10 units × 2.5 kg/unit × 3.00/kg = 75.00
If account_tax_fixed_amount_currency is also installed, configure the fixed tax currency on the tax as usual. The multiplier changes the quantity used by the fixed tax computation, and the resulting amount is then converted by the currency module.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Iván Todorovich <ivan.todorovich@camptocamp.com>
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
Current maintainer:
This module is part of the OCA/account-invoicing project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_addon_account_tax_fixed_amount_multiplier-19.0.1.0.0.4-py3-none-any.whl.
File metadata
- Download URL: odoo_addon_account_tax_fixed_amount_multiplier-19.0.1.0.0.4-py3-none-any.whl
- Upload date:
- Size: 38.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2b5f8f6200d005039ff20072e0bb440238579c0e7179d384020d4407cfca037
|
|
| MD5 |
052fef084bf2174400a138436060c6ce
|
|
| BLAKE2b-256 |
8c0e9c4bd42f1891090c86112edb9bc738d33641bc980607d1489b40ddca4a15
|