Purchase Analytic Distribution Model warehouse
This module allows to automatically assigns analytic distributions to purchase order lines based on the warehouse of the picking type.
This module extends analytic distribution models to support warehouse-based automatic assignment in purchase orders. When you create a purchase order, the system automatically applies the appropriate analytic distribution based on the destination warehouse.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Automatically assigns analytic distributions to purchase order lines based on the destination warehouse of the picking type. Users can define warehouse-specific analytic distribution models.
This module extends analytic distribution models to support warehouse-based automatic assignment in purchase orders. When you create a purchase order, the system automatically applies the appropriate analytic distribution based on the destination warehouse.
- On the Analytic Distribution Model form, a new field 'Warehouse' is added, allowing you to link a distribution model to a specific warehouse.
- In the list view of analytic distribution models, the Warehouse column is shown (optional) next to the Company column.
- When computing analytic distribution on a purchase order line, the system uses the warehouse from the order's picking type to find the matching distribution model.
- The module ensures that only distribution models with no warehouse or the matching warehouse are considered applicable.
- It also sets a default search domain to include models with no warehouse assigned.
This affects the account.analytic.distribution.model and purchase.order.line models. No new menus or reports are added; the feature integrates into existing purchase and accounting workflows.
Depends on
Models and fields (2)
- purchase.order.line · extends an existing model
- account.analytic.distribution.model · extends an existing modelwarehouse_id
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/account-analytic.
terminal Installation and usage
OCA documentation · Odoo 18.0Configuration
Source · Odoo 18.0To configure the analytic distributions:
- Go to Accounting > Configuration > Analytic Distribution Models
- Create a new distribution model or edit an existing one
- Set the Warehouse field to specify which warehouse this model applies to
- Configure your analytic accounts and percentages
- Save the model
Usage
Source · Odoo 18.0The module works automatically:
- Create a purchase order
- Add products to order lines
- The system automatically applies analytic distribution based on the picking type's warehouse
- Confirm the order
The analytic distribution appears in the Analytic Distribution field on each purchase order line.
Note: Manual changes to the analytic distribution field are still possible if needed.
No verified information in OCA: Installation.
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.