Contract ISP
contract_isp · OCA/vertical-isp
-
Security25/25No findings
-
Activity0/25Last human commit 102 months ago
-
Required by20/252 modules depend on it
-
Maturity25/25In 4 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
contract_service_activate— Class 'contract_service_activate' still inherits from the old-style `orm.TransientModel` 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 · sourcecontract_service_activate— Class 'contract_service_activate' 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 · sourceres_company— Class 'res_company' 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. (6 occurrences in this file) migration-old-api-base · sourceres_company— Class 'res_company' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (9 occurrences in this file) migration-old-style-fields · sourceview_contract_isp_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. (2 occurrences in this file) migration-view-attrs-states · sourceview_contract_service_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.addons.decimal_precision`) (5 occurrences in this file) migration-openerp-import · source
- Since 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
Manage service based contracts
This module adds a service based contract category were you can manage diferent services and service types that are included in the contract.
Features:
- Differents types of services (recurrent, exceptions, one time only),
- Pro-rata logic,
- Service activation wizard.
Dependencies
- Odoo dependencies
- None
- Python dependencies
- None
- System dependencies
- None
- Required by
- contract_isp_invoice, contract_isp_package_configurator
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 7
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
contract_isp_form_suspend |
contract.isp.form.suspend | account.analytic.account | form | Inherits hr_timesheet_invoice.account_analytic_account_form_form |
view_company_contract_isp_form |
contract.isp.res.company.form | res.company | form | Inherits base.view_company_form |
view_contract_isp__product_form |
contract.isp.product.form | product.product | form | Inherits product.product_normal_form_view |
view_contract_isp_form |
contract.isp.form | account.analytic.account | form | Inherits account_analytic_analysis.account_analytic_account_form_form |
view_contract_service_activate |
Activate Service | contract.service.activate | form | New |
view_contract_service_form |
contract.service.form | contract.service | form | New |
view_contract_service_tree |
contract.service.tree | contract.service | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 7
No new fields.
Public methods (3)-
create(self, cr, uid, values, context=None) -
create_analytic_lines(self, cr, uid, ids, context=None) -
on_change_partner_id(self, cr, uid, ids, partner_id, name, code=None, context=None)
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (5)-
action_desactivate(self, cr, uid, ids, context) -
create(self, cr, uid, values, context=None) -
create_analytic_line(self, cr, uid, ids, mode='manual', date=None, context=None) -
on_change_product_id(self, cr, uid, ids, product_id) -
on_change_qty(self, cr, uid, ids, qty, price)
No new fields.
Public methods (1)-
activate(self, cr, uid, ids, context=None)
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (0)No public methods.
No new fields.
Public methods (1)-
create(self, cr, uid, values, context=None)
Loading…
Loading…
Loading…