Account Analytic Split
by Terrabit https://www.terrabit.ro , Dan Stoica https://www.terrabit.roAccount Analytic Split
Sales-team analytics and percentage splits
Adds sales-team tracking to analytic accounting and a tool to split analytic amounts across several analytic accounts by percentage.
Analytic distribution by sales team
Sale team on distribution models. The analytic distribution model gets a Sale team field. On customer invoices, credit notes and sales receipts, the product lines take the distribution of the model whose Sale team is the invoice's sales team, when exactly one such model exists. The distribution is recomputed when the sales team of the invoice changes.
Sales team on analytic items. Analytic items keep a sales team and the product category of their product:
- from the sales team of the customer invoice, credit note or sales receipt;
- for journal entries of a stock transfer (when the stock and sales-stock modules are installed), from the sales team of the sale order of the transfer;
- on vendor bills and refunds, from the sales team whose name equals the name of the analytic account.
In Accounting > Accounting > Transactions > Analytic Items and Accounting > Reporting > Analytic Report, the Group By menu offers Sale team and Product category.
Analytic split
Analytic split templates. A template lists analytic accounts with a percentage each; the percentages must total 100.
Analytic splits. A split distributes either a fixed Amount or an existing analytic item (type Line) according to a template:
- Computefills the split lines from the template;
- Confirmcreates one analytic item per split line, on the split date, and checks that the lines add up to the amount to split. For a Line split, the original analytic item is deleted and replaced by the new ones;
- Resetdeletes the created analytic items and returns an Amount split to draft. A Line split cannot be reset.
Configuration
- Accounting > Configuration > Analytic Accounting > Analytic Distribution Modelsset the Sale team on the models used for sales.
- Accounting > Configuration > Analytic Accounting > Analytic split templatesand Analytic splits.
- The split menus are visible to accounting administrators when the Analytic Accounting setting is enabled. Only users in the group Analitic split user (Settings > Users & Companies > Groups) may open templates and splits.
In Odoo Community the app is named Invoicing instead of Accounting.
Limitations
- On vendor bills the sales team is found only by an exact match between the analytic account name and the sales team name.
- A split without a Name cannot be confirmed: the analytic items need a description.
20.0.0.0.11 (2026-11-03)
- Description rewritten from the code: removed the automatic split of sale analytic lines into stock value and margin and the Split Sale Analytic setting, which are disabled, and the split fields on the analytic account form, which do not exist. Documented the distribution by sales team, the sales team on analytic items and the manual analytic split.
- Summary and Apps banner aligned with the description.
19.0.0.0.9
- Fixed: with this module installed, Timesheets (
hr_timesheet, and sosale_timesheetorhelpdesk_timesheet) could not be installed: the Sale team and Product category groupings were added to the base analytic search view, which the timesheet analysis report inherits without having these fields. They are now added to the accounting search view of analytic items (Analytic Items, Analytic Reporting).
19.0.0.0.8
- Fixed ANALYTICSPLIT-001: confirming a Line split before Compute, or after removing its lines, deleted the analytic line to split without creating any replacement. Confirmation now requires split lines whose total equals the amount to split (the source line for a Line split), checked before anything is created or deleted.
- Fixed ANALYTICSPLIT-002: confirming an already confirmed split again (RPC or a retried request) created a second set of analytic entries and lost the link to the first one. A split can now be confirmed only once.
- Fixed ANALYTICSPLIT-003: posting an invoice with an analytic distribution
failed with
AttributeError: stock_move_idson databases withoutstock_account. The sales team lookup through the stock transfer is now done only when the stock modules are installed. - Fixed ANALYTICSPLIT-004: posting a vendor bill whose analytic distribution
used only an additional analytic plan failed with
KeyError: 'account_id'.
19.0.0.0.7
- Own module icon, instead of the generic gears it had.
Changelog
20.0.0.0.10 (2026-10-22)
- Listed on Odoo Apps as Account Analytic Split (was Account Analytic). The technical name
deltatech_account_analyticdoes not change.
19.0.0.0.6 (2026-07-31)
- Fix: analytic lines generated from
out_receipt(Sales Receipt) invoices keptteam_idempty onaccount.analytic.line, even thoughanalytic_distributionon the sourceaccount.move.linewas already correct (fixed in 19.0.0.0.5).AccountAnalyticLine.create()copiesteam_idfrommove_id.team_idonly forout_invoice/out_refund—out_receiptwas missing from that list, unlike the equivalent list inaccount_move.py. Addedout_receiptso both stay consistent.
19.0.0.0.5 (2026-07-27)
- Fix:
_compute_analytic_distributionlooked up the distribution model bymove_id.team_idbut never declared it as a dependency, so lines kept their stale (often empty) analytic distribution whenever the sales team changed on an existing invoice, instead of only at creation time. - Fix:
out_receipt(Sales Receipt) invoices were excluded from the team-based analytic matching, so their revenue lines never got an analytic account, unlikeout_invoice/out_refundlines.
Need help getting started?
Our 800+ apps on the Odoo Apps Store are used in Odoo implementations across Europe, the Americas, Asia and Africa — by companies we have never even met. That is the advantage of building modules that simply work.
Questions about this module? Write to us — the developers who build it will answer.
More apps by Terrabit
Other modules from the same publisher, built to work together. All apps →
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Purchase (purchase) • Discuss (mail) |
| Lines of code | 339 |
| Technical Name |
deltatech_account_analytic |
| License | OPL-1 |
| Website | https://www.terrabit.ro |
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