Put attribute taxes on sales orders
This module uses product_variant_attribute_tax for adding the taxes set on product attribute values when adding a product in sales orders that contains this attribute value.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0When you add a product with attributes to a sales order, this module automatically adds the taxes defined on the chosen attribute values to the order line, on top of the product's normal taxes.
This module works together with the product variant configurator on sales orders. When you pick attribute values for a product on a sales order line, Odoo normally only applies the taxes set on the product itself. With this module, any sales taxes configured on the selected attribute values are also added to the line.
- The taxes are added automatically when the attribute values change on the order line; no manual action is needed.
- Only taxes marked for sales and belonging to the same company as the order are taken into account.
- If the sales order has a fiscal position, both the product taxes and the attribute taxes are adjusted according to that fiscal position before being applied.
- The final tax list on the line combines the product's taxes (after fiscal position mapping) with the attribute taxes (after fiscal position mapping).
- If the line already has a specific product set, or no product template is selected, the module does nothing and leaves the taxes unchanged.
The change appears directly on the sales order line's Taxes field. It touches the sale.order.line model and relies on the attribute values and their taxes. No new menus or screens are added.
Models and fields (1)
- sale.order.line · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/product-variant.
terminal Installation and usage
OCA documentation · Odoo 16.0Usage
Source · Odoo 16.0To use this module, you need to:
- Go to Sales > Orders > Quotations, create a new quotation or edit an existing one.
- Create a new order line or edit an existing one.
- when editing the table "Product attributes", the taxes of that sales line will be completed with the default taxes of the attribute value specified.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.