Project Hours Blocks Management
analytic_hours_block · OCA/project
OCA/contract 6.1–7.0 · OCA/project 6.1–10.0
Name collision in 6.1, 7.0: OCA/contract and OCA/project have analytic_hours_block
-
Security25/25No findings
-
Activity0/25Last human commit 102 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 5 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
AccountHoursBlock— Class 'AccountHoursBlock' 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 · sourceAccountHoursBlock— Class 'AccountHoursBlock' 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 · sourceProduct— Class 'Product' 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 · sourceProduct— Class 'Product' 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 · sourceinvoice_tree_hour_block— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · sourceproject_project— Class 'project_project' 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 · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.tools.translate`) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.report`) (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
Project Hours Blocks Management
This module allows you to handle hours blocks, to follow for example the user support contracts. This means, you sell a product of type "hours block" then you input the spent hours on the hours block and you can track and follow how much has been used.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
edit_project_hours_block_link |
project.project.form.hours.block.link | project.project | form | Inherits project.edit_project |
hours_block_invoice_form |
account.hours.block.form | account.hours.block | form | New |
invoice_tree_hour_block |
account.hours.block.tree | account.hours.block | tree | New |
view_account_invoice_filter |
account.hours.block.select | account.hours.block | search | New |
view_product_hours_block_form |
product.product.block.form | product.product | form | Inherits product.product_normal_form_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
No new fields.
Public methods (1)-
action_send_block(self, cr, uid, ids, context=None)Open a form to send by email. Return an action dict.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (1)-
hours_block_tree_view(self, cr, uid, ids, context)
Loading…
Loading…
Loading…
Loading…