Tax Fixed Amount Multiplier
account_tax_fixed_amount_multiplier · 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 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.
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 2
-
fixed_amount_multiplierSelectiondefault='quantity'help="Controls how the quantity is used for fixed-amount taxes:\n- No Multiplier: the amount is applied once per line.\n- Quantity (default): multiplied by the line quantity, regardless of the unit of measure.\n- Product Quantity: the line quantity is converted to the product's unit of measure before multiplying.\n- Product Weight: multiplied by the total weight (product quantity × product weight)."required=Truestring='Multiplier' args: [('none', 'No Multiplier'), ('quantity', 'Quantity (default)'), ('product_quantity', 'Product Quantity'), ('product_weight', 'Product Weight')]
No public methods.
-
uom_factorFloatrelated='uom_id.factor'
No public methods.