OdooWiki OCA HUB

Sale analytic brand

sale_analytic_brand folder_open OCA/brand open_in_new
Uncategorised License: AGPL-3

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.0

Automatically 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.

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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

terminal Installation and usage

No verified information

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.

info

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.