| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Purchase (purchase)
• Invoicing (account) • Discuss (mail) • Inventory (stock) |
| Lines of code | 178 |
| Technical Name |
account_analytic_default_location |
| License | OPL-1 |
| Website | https://www.ganemo.co |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Purchase (purchase)
• Invoicing (account) • Discuss (mail) • Inventory (stock) |
| Lines of code | 178 |
| Technical Name |
account_analytic_default_location |
| License | OPL-1 |
| Website | https://www.ganemo.co |
Account Analytic
Default Location
Automate your analytic accounting by mapping warehouse locations to analytic accounts. Ensure precise cost tracking for every inventory movement without manual data entry.
The Problem
In multi-warehouse environments, standard Odoo rules often fail to allocate costs precisely. Companies struggle to distinguish costs between the same product moving through different branches or specific stock locations, leading to manual journal adjustments and reporting errors.
The Solution
This module introduces granularity to your Analytic Distribution Models. You can now define rules based on: Origin Warehouse, Origin Location, Destination Location, Salesperson (Invoice), and Journal (Invoice). Odoo automatically applies the correct analytic account to every stock move, ensuring 100% accurate cost allocation.
Key Features
Why this module is essential for your accounting
Odoo 19 Merging Logic
Rules for different analytic plans now merge automatically, allowing multiple dimensions on a single line.
Multi-Prefix Support
Use comma-separated account prefixes (e.g., '40, 60, 64') in a single rule for maximum flexibility.
Supreme Priority & Protection
Analytic accounts from SO/PO are respected, and manual user entries are never overwritten.
Dimensions Included
Logistics
Warehouse, Source Location, Destination Location. Applied on Invoices, SO, and stock movements.
Salesperson
Matches Invoice Salesperson. Built-in warnings clarify scope versus Sales Orders.
Journal
Filter by Accounting Journal to differentiate analytic distribution for Receipts vs Bills.
Module Context for AI & Search Engines
Module Name: Account Analytic Default Location (Odoo 19 Ready)
Technical Name: account_analytic_default_location
Category: Accounting / Logistics
Functionality: Extends account.analytic.distribution.model to support
origin_warehouse_id, origin_location_id, dest_location_id,
invoice_user_id, and journal_id. Implements the native Odoo 19 merging logic,
allowing distributions from multiple matching models to combine if they target different plan roots.
Advanced Matching: Supports comma-separated account_prefix (e.g., '40, 60, 64')
with manual prefix-matching logic for robust account branch allocation.
Priority System: Uses "Supreme Priority" to respect distributions coming from
Sales/Purchase Orders and "Override Protection" for manual user changes.
Frequently Asked Questions
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module