| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Community Apps Dependencies | Show |
| Lines of code | 1208 |
| Technical Name |
aos_branch_account |
| Website | https://www.alphasoft.co.id/ |
| Versions | 15.0 16.0 17.0 18.0 19.0 |
Branches — Accounting integration
Branch dimension on every journal entry.
Branch-driven analytic distribution rules. Branch-level
P&L from a single chart of accounts — without the
inter-company friction.
Built on top of aos_branch.
Models inherited —
move, line, analytic dist
Auto-distribution rule —
per branch, once
Client assets —
pure server-side ORM
Branches supported —
flat license
aos_branch first to provision the
res.branch model. This module assumes branches
already exist.
What it adds
branch_id on account.move
Visible on the customer invoice / vendor bill / journal entry form. Filterable in the list view, groupable in pivot reports.
Related on account.move.line
Every journal item gets a
branch_id related field — so the branch
dimension flows into analytic, taxes, payment matching,
and any downstream report.
Analytic per branch
Add a branch_id filter
to account.analytic.distribution.model — rules
fire automatically on every matching invoice line.
Setup workflow
Five steps to get branch-level P&L flowing on a fresh DB.
How the auto-distribution lookup works
This module overrides
account.move.line._compute_analytic_distribution
so the lookup key sent to
account.analytic.distribution.model._get_distribution
includes branch_id alongside the usual
product_id, partner_id,
account_prefix, etc. The matching engine picks the
most specific rule — exactly the same machinery as Odoo’s
built-in product / partner / account rules, just with one
more axis.
Inherited models
account.move
New
branch_id Many2one to res.branch.
Appears on the invoice / bill / journal entry form between
the partner and the journal selector.
account.move.line
New
branch_id related to
move_id.branch_id (stored). Plus an override
of _compute_analytic_distribution to feed the
branch into the lookup.
account.analytic.distribution.model
New
branch_id Many2one filter +
_create_domain override so rules accept
"this branch OR no branch" semantics.
product.template
Hooked into the view layer for branch-aware accounting properties — extensible via inheritance for future per-branch product mapping.
Compatibility
| Odoo version | Status |
|---|---|
| 16.0 | ✓ This release — 18.0.1.1.0 |
| 19.0, 18.0, 17.0, 15.0 | Same code base · manifest version bump (drop-in port) |
| 14.0 | Available on request |
Depends on account + analytic +
aos_branch. Pure server-side ORM extension;
no JavaScript, no client asset bundle.
Pricing & support
What you get
- 1 year regulatory + API maintenance updates
- Bug fixes free of charge
- Email support via info@alphasoft.co.id
- New-feature requests quoted separately
License: OPL-1 (Odoo Proprietary License v1.0) | Author: Alphasoft | Version: 18.0.1.1.0 | Odoo: 16.0 Community / Enterprise
Maintained by Alphasoft · alphasoft.co.id · © 2017–2026
Please log in to comment on this module