This module allows to propagate analytic distribution from branded analytic distribution models on sale order lines.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Automatically fills the analytic distribution on sale order lines based on the brand selected on the sale order, so accounting analysis follows the brand without manual entry.
When you add a brand to a sale order, this module makes Odoo look for an analytic distribution rule that matches that brand and applies it to the order lines.
- It extends the sale order line behaviour so that the analytic distribution is recalculated whenever the brand on the related sale order changes.
- The matching uses the product, product category, customer, customer categories, company and the brand of the order to find the right analytic distribution model.
- If a matching rule is found, its distribution is written on the line; if not, the existing distribution on the line is kept.
- Lines that are only sections or notes (display-only lines) are skipped.
This works together with the brand on sale orders and the branded analytic distribution models. It touches the sale.order.line model and relies on account.analytic.distribution.model. No new menus or screens are added; the change happens automatically in the background when sale orders are created or edited.
Depends on
Models and fields (1)
- sale.order.line · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 18.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: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/brand.
terminal Installation and usage
No verified informationInstallation 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.