Account Analytic Plan Required
account_analytic_plan_required · OCA/account-analytic
Renamed to account_analytic_distribution_required in 9.0
-
Security25/25No findings
-
Activity0/25Last human commit 134 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 7.0
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_account_type— Class 'account_account_type' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. (2 occurrences in this file) 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`) (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
Account Analytic Plan Required
This module extends account_analytic_required and adds 2 policies to control the use of analytic distributions. The policies behave as follow
- never: no analytic account nor analytic distribution allowed
- always: analytic account required
- always_plan: analytic_distribution required
- always_plan_or_account: analytic distribution or analytic account required
- optional: do what you like,
In any case analytic account and analytic distribution are mutually exclusive.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
Loading…
Loading…