This module is a glue module between the OCA modules product_analytic and donation.
auto_awesome What this module does
AI-generated from the code · Odoo 16.0Automatically assigns the income analytic account of a donated product to donation journal items when no analytic distribution rule is found. It links the donation and product analytic features without any manual setup.
This is a small glue module that connects the donation feature with product analytic accounting. It installs automatically when both the donation and product analytic modules are present, so users do not need to configure anything.
When Odoo looks for an analytic distribution for an accounting entry, it normally checks the existing analytic distribution rules. This module adds one extra fallback: if no rule matches and the entry is being created in the context of a donation, Odoo looks at the product being donated and uses the income analytic account configured on that product.
- The analytic account is taken from the product's income analytic account setting.
- The full amount (100%) is assigned to that analytic account.
- This only happens when no other analytic distribution rule already applies.
- It only happens for donation-related entries, not for regular sales or other transactions.
As a result, donations of a product are automatically tracked in the correct analytic account without users having to select it manually. The module touches the analytic distribution model (account.analytic.distribution.model) and relies on the product's analytic account configuration. No new menus, screens, or reports are added.
Depends on
Models and fields (1)
- account.analytic.distribution.model · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 16.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: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/donation.
terminal Installation and usage
OCA documentation · Odoo 16.0Usage
Source · Odoo 16.0When you create a donation line with a product that has an income analytic account (or whose product category has an income analytic account), it will be automatically set on the donation line.
No verified information in OCA: Installation, Configuration.
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.