Contract ISP Invoice
contract_isp_invoice · OCA/vertical-isp
Health
65/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 102 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 4 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
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.04 MB
Module directory on disk
Code analysis
14 migration notes
9 models
6 views
0 HTTP endpoints
Migration considerations
- Migrating to 11.0: the workflow engine (`trg_validate`) was removed: rewrite as state-field transitions. migration-workflow-call · source
contract_isp_close— Class 'contract_isp_close' 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_isp_close— Class 'contract_isp_close' 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 · sourcecontract_isp_invoice_invoice_create— Class 'contract_isp_invoice_invoice_create' 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_isp_invoice_invoice_create— Class 'contract_isp_invoice_invoice_create' 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 · sourcecontract_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 · 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_journal_form_post_later— 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. migration-view-attrs-states · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (6 occurrences in this file) migration-openerp-import · source
- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `update account_analytic_line set invoice_id=%s WHERE account_id = %s and id IN %s` - re-check the table/column names still match after upgrading. migration-raw-sql-write · 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
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) (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`) 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
Invoicing for service based contracts
Generates invoices for service based contracts.
Features:
- Refund on contract closing
- Exception services invoice logic
Dependencies
- Odoo dependencies
-
OCA/vertical-isp:
- Python dependencies
- None
- System dependencies
- None
- Required by
- contract_isp_automatic_invoicing
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 6
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
contract_isp_form_button1 |
contract.isp.form.button1 | account.analytic.account | form | Inherits analytic.view_account_analytic_account_form |
view_company_contract_isp_invoice_form |
contract.isp.invoice.res.company.form | res.company | form | Inherits contract_isp.view_company_contract_isp_form |
view_contract_isp_close |
Close contract | contract.isp.close | form | New |
view_contract_isp_invoice_create |
contract.isp.invoice.create.form | hr.timesheet.invoice.create | form | Inherits hr_timesheet_invoice.view_hr_timesheet_invoice_create |
view_journal_form_post_later |
account.journal.form.postlater | account.journal | form | Inherits account.view_account_journal_form |
view_voucher_form_post_later |
account.voucher.form.postlater | account.voucher | form | Inherits account_voucher.view_vendor_receipt_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 9
New fields (0)
No new fields.
Public methods (3)-
create_invoice(self, cr, uid, ids, prorata=False, context=None) -
prepare_voucher(self, cr, uid, ids, context=None) -
set_close(self, cr, uid, ids, context=None)
New fields (0)
No new fields.
Public methods (1)-
invoice_cost_create(self, cr, uid, ids, data=None, context=None)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (3)-
create(self, cr, uid, data, context=None) -
onchange_journal(self, cr, uid, ids, journal_id, line_ids, tax_id, partner_id, date, amount, ttype, company_id, context=None) -
proforma_voucher(self, cr, uid, ids, context=None)
New fields (0)
No new fields.
Public methods (1)-
do_close(self, cr, uid, ids, context=None)
New fields (0)
No new fields.
Public methods (1)-
activate(self, cr, uid, ids, context=None)
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.
Loading…
Loading…
Loading…