Multiple Analytic Plans
account_analytic_plans · odoo/odoo
Renamed to account_analytic_distribution in 9.0, then merged into account in 12.0
-
Security25/25No findings
-
Activity0/25Last human commit 133 months ago
-
Required by25/255 modules depend on it
-
Maturity18/25In 3 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
account_analytic_line— Class 'account_analytic_line' still inherits from the old-style `osv.osv` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. (14 occurrences in this file) migration-old-api-base · sourceaccount_analytic_line— Class 'account_analytic_line' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (14 occurrences in this file) migration-old-style-fields · sourceaccount_analytic_plan_instance_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). (4 occurrences in this file) migration-view-tree-tag · sourceaccount_crossovered_analytic— Class 'account_crossovered_analytic' still inherits from the old-style `osv.osv_memory` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceaccount_crossovered_analytic— Class 'account_crossovered_analytic' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (2 occurrences in this file) migration-old-style-fields · sourceanalytic_plan_create_model— Class 'analytic_plan_create_model' still inherits from the old-style `osv.osv_memory` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (3 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (2 occurrences in this file) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
This module allows to use several analytic plans according to the general journal.
Here multiple analytic lines are created when the invoice or the entries are confirmed.
For example, you can define the following analytic structure:
-
Projects
-
Project 1
-
SubProj 1.1
-
SubProj 1.2
-
-
Project 2
-
-
Salesman
-
Eric
-
Fabien
-
Here, we have two plans: Projects and Salesman. An invoice line must be able to write analytic entries in the 2 plans: SubProj 1.1 and Fabien. The amount can also be split.
The following example is for an invoice that touches the two subprojects and assigned to one salesman:
**Plan1:**
* SubProject 1.1 : 50%
* SubProject 1.2 : 50%
**Plan2:**
Eric: 100%
So when this line of invoice will be confirmed, it will generate 3 analytic lines,for one account entry.
The analytic plan validates the minimum and maximum percentage at the time of creation of distribution models.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- account_analytic_plan_required, contract_recurring_plans, hr_expense_analytic_plans, purchase_analytic_plans, sale_analytic_plans
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 21
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_analytic_plan_form |
account.analytic.plan.form | account.analytic.plan | form | New |
account_analytic_plan_instance_form |
account.analytic.plan.instance.form | account.analytic.plan.instance | form | New |
account_analytic_plan_instance_line_form |
account.analytic.plan.instance.line.form | account.analytic.plan.instance.line | form | New |
account_analytic_plan_instance_line_tree |
account.analytic.plan.instance.line.tree | account.analytic.plan.instance.line | tree | New |
account_analytic_plan_instance_tree |
account.analytic.plan.instance.tree | account.analytic.plan.instance | tree | New |
account_analytic_plan_line_form |
account.analytic.plan.line.form | account.analytic.plan.line | form | New |
account_analytic_plan_line_tree |
account.analytic.plan.line.tree | account.analytic.plan.line | tree | New |
account_analytic_plan_search |
account.analytic.plan.search | account.analytic.plan | search | New |
account_analytic_plan_tree |
account.analytic.plan.tree | account.analytic.plan | tree | New |
assets_backend |
account analytic plans assets | ir.ui.view | qweb | Inherits web.assets_backend |
report_crossoveredanalyticplans |
report_crossoveredanalyticplans | ir.ui.view | qweb | New |
view_account_crossovered_analytic |
account.crossovered.analytic.form | account.crossovered.analytic | form | New |
view_account_journal_form_inherit |
account.journal.form.inherit | account.journal | form | Inherits account.view_account_journal_form |
view_analytic_plan_create_model |
analytic.plan.create.model.form | analytic.plan.create.model | form | New |
view_analytic_plan_create_model_msg |
analytic.plan.create.model.msg.form | analytic.plan.create.model | form | New |
view_default_inherit_form |
account.analytic.default.form.plans | account.analytic.default | form | Inherits account_analytic_default.view_account_analytic_default_form |
view_default_inherit_tree |
account.analytic.default.tree.plans | account.analytic.default | tree | Inherits account_analytic_default.view_account_analytic_default_tree |
view_move_form_inherit |
account.move.form.inherit | account.move | form | Inherits account.view_move_form |
view_move_line_form_1_inherit |
account.move.line.form.inherit1 | account.move.line | form | Inherits account.view_move_line_form2 |
view_move_line_form_inherit |
account.move.line.form.inherit | account.move.line | form | Inherits account.view_move_line_form |
view_move_line_tree_inherit |
account.move.line.tree.inherit | account.move.line | tree | Inherits account.view_move_line_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 0
No models found for this module.
Loading…
Loading…