Purchase Analytic Distribution Model warehouse
by Tecnativa https://github.com/OCA/account-analytic , Odoo Community Association (OCA) https://github.com/OCA/account-analytic| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Purchase (purchase)
• Invoicing (account) • Discuss (mail) • Inventory (stock) |
| Lines of code | 45 |
| Technical Name |
purchase_analytic_distribution_model_warehouse |
| License | AGPL-3 |
| Website | https://github.com/OCA/account-analytic |
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.
Table of contents
Configuration
To 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
The 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.
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
- Tecnativa
- Christian Ramos
- Pedro M. Baeza
Maintainers
This module is maintained by the OCA.
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.
Please log in to comment on this module