Tax Fixed Amount Multiplier

account_tax_fixed_amount_multiplier
REPOSITORY
REPOSITORYOCA/account-invoicing
GIT
GIThttps://github.com/OCA/account-invoicing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-invoicing/tree/19.0/account_tax_fixed_amount_multiplier
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting/Accounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Maksym Yankin
WEBSITE
WEBSITEhttps://github.com/OCA/account-invoicing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:46
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_tax_form account.tax field Inherits account.view_tax_form
Models touched (2)

New fields (1)
  • fixed_amount_multiplier Selection
    default='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=True string='Multiplier' args: [('none', 'No Multiplier'), ('quantity', 'Quantity (default)'), ('product_quantity', 'Product Quantity'), ('product_weight', 'Product Weight')]
Public methods (0)

No public methods.

New fields (1)
  • uom_factor Float
    related='uom_id.factor'
Public methods (0)

No public methods.