Program Budget
program_budget · OCA/program
Health
50/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 124 months ago
-
Required by20/253 modules depend on it
-
Maturity5/25In 1 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Required by
3
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis
25 migration notes
7 models
9 views
0 HTTP endpoints
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_account— Class 'account_analytic_account' 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. migration-old-api-base · sourceprogram_crossovered_budget_lines— Class 'program_crossovered_budget_lines' 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. migration-old-api-base · sourceprogram_crossovered_budget_lines— Class 'program_crossovered_budget_lines' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceprogram_result— Class 'program_result' 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. migration-old-api-base · sourceprogram_result— Class 'program_result' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceprogram_result_country— Class 'program_result_country' 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. migration-old-api-base · sourceprogram_result_country— Class 'program_result_country' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceprogram_result_country— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourceprogram_result_country_role— Class 'program_result_country_role' 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. migration-old-api-base · sourceprogram_result_country_role— Class 'program_result_country_role' 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 · sourceprogram_result_level— Class 'program_result_level' 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. migration-old-api-base · sourceprogram_result_level— Class 'program_result_level' 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 · sourceprogram_result_region— Class 'program_result_region' 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. migration-old-api-base · sourceprogram_result_region— Class 'program_result_region' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceview_program_result_country_role_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceview_program_result_country_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceview_program_result_region_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · 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
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · 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`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) 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
Program Budget
Contributors
- Sandy Carter (sandy.carter@savoirfairelinux.com)
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- program_budget_team, program_multi_menu_budget, program_purchase
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 9
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_program_result_country_role_form |
Program Result Country Role Form | program.result.country.role | form | New |
view_program_result_country_role_search |
Program Result Country Search | program.result.country.role | search | New |
view_program_result_country_role_tree |
Program Result Country Role Tree | program.result.country.role | tree | New |
view_program_result_country_tree |
Program Result Country Tree | program.result.country | tree | New |
view_program_result_form |
program.result | form | Inherits program.view_program_result_form | |
view_program_result_level_form |
Program Result Level Form | program.result.level | form | Inherits program.view_program_result_level_form |
view_program_result_region_form |
Program Result Region Form | program.result.region | form | New |
view_program_result_region_search |
Program Result Region Search | program.result.region | search | New |
view_program_result_region_tree |
Program Result Region Tree | program.result.region | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 7
New fields (0)
No new fields.
Public methods (3)-
create(self, cr, uid, vals, context=None)Create an analytic account Create the related result if this account is under the root program node -
unlink(self, cr, uid, ids, context=None) -
write(self, cr, uid, ids, values, context=None)
New fields (0)
No new fields.
Public methods (1)-
onchange_currency_amount(self, cr, uid, ids, currency_amount, currency_id, context=None)
New fields (0)
No new fields.
Public methods (4)-
create(self, cr, uid, vals, context=None)Create a program.result Create an analytic account under under the root node of the budgetary period or under the parent result, if specified. -
get_child_account_ids(account_obj) -
unlink(self, cr, uid, ids, context=None) -
write(self, cr, uid, ids, vals, context=None)Update the program.result Propagate the changes to the account analytic that is tied to this program result. If the parent result is changed, move the linked account analytic as well.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.