Agreements
agreement · OCA/agreement
OCA/contract 11.0–14.0 → OCA/agreement 15.0–19.0
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by25/255 modules depend on it
-
Maturity25/25In 9 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module adds an Agreement object to Odoo so that contracts and other agreements concluded with customers and suppliers can be registered and followed in one place. Each agreement has a code, a name, a partner, a Sale or Purchase domain, and signature, start and end dates. The partner may be a contact person of a company: the company is stored on the agreement as Commercial Entity, and the agreement code must be unique per commercial entity and company.
Agreements have a chatter with tracked field changes and activities, can be archived, are listed on the partner form through a smart button, and are protected by three access roles (Read-Only Users, User and Manager). Optionally, agreements can be classified with agreement types, which preset the domain, and flagged as templates that can be duplicated to create new agreements.
This module is the base of the OCA agreement modules. Its settings page lets you install extensions for stages, signatures, revisions, termination, legal content, and links to sales, products, projects and rebates.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- agreement_project, agreement_rebate, agreement_sale, fieldservice_agreement, l10n_py_maquila_base
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 |
|---|---|---|---|---|
agreement_form |
agreement.form | agreement | form | New |
agreement_kanban |
Agreement Kanban | agreement | kanban | New |
agreement_search |
agreement.search | agreement | search | New |
agreement_tree |
agreement.list | agreement | list | New |
agreement_type_form_view |
Agreement Type Form | agreement.type | form | New |
agreement_type_list_view |
Agreement Type List | agreement.type | list | New |
agreement_type_search |
agreement.type.search | agreement.type | search | New |
partner_form |
res.partner | form | Inherits base.view_partner_form | |
res_config_settings_view_form |
res.config.settings.view.form.agreement | res.config.settings | form | Inherits base.res_config_settings_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
-
activeBooleandefault=True -
agreement_type_idMany2one → agreement.typehelp='Select the type of agreement' args: 'agreement.type' -
codeCharrequired=Truetracking=True -
commercial_partner_idMany2one → res.partnercompute='_compute_commercial_partner_id'precompute=Truestore=Truestring='Commercial Entity'tracking=True args: 'res.partner' -
company_idMany2one → res.companydefault=<expr> args: 'res.company' -
domainSelectioncompute='_compute_domain'readonly=Falseselection='_domain_selection'store=Truetracking=True -
end_dateDatehelp='When the agreement ends.'tracking=True -
is_templateBooleancopy=Falsehelp="Set if the agreement is a template. Template agreements don't require a partner."string='Is a Template?' -
nameCharrequired=Truetracking=True -
partner_idMany2one → res.partnerondelete='restrict'tracking=True args: 'res.partner' -
signature_dateDatetracking=True -
start_dateDatehelp='When the agreement starts.'tracking=True
-
copy(self, default=None)Always assign a value for code because is required
-
activeBooleandefault=True -
domainSelectiondefault='sale' args: '_domain_selection' -
nameCharrequired=True
No public methods.
-
group_use_agreement_templateBooleanimplied_group='agreement.group_use_agreement_template' args: 'Use agreement template' -
group_use_agreement_typeBooleanimplied_group='agreement.group_use_agreement_type' args: 'Use agreement types' -
module_agreement_legalBooleanhelp='Manage legal aspects of agreements' -
module_agreement_legal_contentBooleanhelp='Add legal content to agreements' -
module_agreement_productBooleanhelp='Agreement on products' -
module_agreement_projectBooleanhelp='Agreement on projects' -
module_agreement_rebateBooleanhelp='Rebate in agreements' -
module_agreement_revisionBooleanhelp='Track versions and revisions of legal agreements' -
module_agreement_saleBooleanhelp='Agreement on sales' -
module_agreement_signatureBooleanhelp='Track signatories and the signed document of agreements' -
module_agreement_stageBooleanhelp='Add a stage workflow to legal agreements' -
module_agreement_terminationBooleanhelp='Term dates, notices and termination tracking for agreements' -
module_agreement_typeBooleanhelp='Hierarchical agreement types (with sub-types) and review reminders'
No public methods.
-
agreement_idsOne2many → agreementstring='Agreements' args: 'agreement', 'partner_id' -
agreements_countIntegercompute='_compute_agreements_count'
-
action_open_agreement(self)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…