Skip to main content
Odoo Community Association

Sale Analytic Distribution Model warehouse

Beta License: AGPL-3 OCA/account-analytic Translate me on Weblate Try me on Runboat

Automatically assigns analytic distributions to purchase order lines based on the sale’s warehouse.

This module extends analytic distribution models to support warehouse-based automatic assignment in sale orders. When you create a sale order, the system automatically applies the appropriate analytic distribution based on the origin warehouse.

Table of contents

Configuration

To configure the analytic distributions:

  1. Go to Accounting > Configuration > Analytic Distribution Models

  2. Create a new distribution model or edit an existing one

  3. Set the Warehouse field to specify which warehouse this model applies to

  4. Configure your analytic accounts and percentages

  5. Save the model

Usage

The module works automatically:

  1. Create a sale order

  2. Add products to order lines

  3. The system automatically applies analytic distribution based on the order warehouse

  4. Confirm the order

The analytic distribution appears in the Analytic Distribution field on each sale order line.

Note: Manual changes to the analytic distribution field are still possible if needed.

Note: Changing the warehouse of the order may recompute the analytic distribution of all its lines. If the new warehouse has a distribution model, its result replaces the value of every line, manual values included. If it has none, the lines keep the distribution they already had.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Tecnativa

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/account-analytic project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Release files for odoo-addon-sale-analytic-distribution-model-warehouse 18.0.1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-sale-analytic-distribution-model-warehouse 18.0.1.0.2
File Interpreter ABI Platform
odoo_addon_sale_analytic_distribution_model_warehouse-18.0.1.0.2-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_sale_analytic_distribution_model_warehouse-18.0.1.0.2-py3-none-any.whl

Download URL odoo_addon_sale_analytic_distribution_model_warehouse-18.0.1.0.2-py3-none-any.whl
Size 29.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
94be298d89bf73f1fa3246663e74b7282615362bfcb6fc6db26f462ace71c36a
BLAKE2b-256 checksum
How to use checksums
33f0a259af3d4f71af1cedd6150eef2da5eccc2d321b5f1eb3241f986bde7b5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

18.0.1.0.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page