Base Contract
base_contract · OCA/project
-
Security25/25No findings
-
Activity0/25Last human commit 140 months ago
-
Required by20/252 modules depend on it
-
Maturity5/25In 1 Odoo series since 6.1
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
generate_contract_type— Class 'generate_contract_type' still inherits from the old-style `osv.osv_memory` 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 · sourcegenerate_contract_type— Class 'generate_contract_type' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (3 occurrences in this file) migration-old-style-fields · sourceview_contract_type_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). (3 occurrences in this file) migration-view-tree-tag · 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
Presentation:
This module allows you to manage your contracts entirely. It allows you to define the model you want to add to a contract. It automatically adds a link to the contracts on the model view.
Configuration:
Administration>Configuration>Contracts
-
Generate Contract Types: Inform the model which you would like to create the type of contract, name and code of the type of contract to automatically generate the type of contract.
-
Contract Types: Contract types generated are listed here.
-
Contract category: Creating the type of contract with a code and a name.
Links of the contract in the model informed:
-
The link of the contract is put in the links column on the menu of the selected model when generating the model contract.
-
Example: Contrat du Sales Order: Learn the name, ref, date of start and end of the contract, the Kind of contract, the bond, the date of the first billing, the amount, the Company ...
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- project_service_contract, res_partner_contract
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 10
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_contract_category_form |
contract.category.form | contract.category | form | New |
view_contract_category_tree |
contract.category.tree | contract.category | tree | New |
view_contract_contract_form |
contract.contract.form | contract.contract | form | New |
view_contract_contract_search |
contract.contract.search | contract.contract | search | New |
view_contract_contract_tree |
contract.contract.tree | contract.contract | tree | New |
view_contract_type_form |
contract.type.form | contract.type | tree | New |
view_contract_type_search |
contract.type.search | contract.type | search | New |
view_contract_type_tree |
contract.type.tree | contract.type | tree | New |
view_generate_contract_form |
generate.contract.form | generate.contract | form | New |
view_generate_contract_type_form |
generate.contract.type.form | generate.contract.type | form | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 0
No models found for this module.