Repository
OCA/agreement · module folder · Try on Runboat
Module version
2.1.0
Category
Contract
Folder size
0.46 MB
License
AGPL-3
Application
Yes
Auto-installable
No
Website
https://github.com/OCA/agreement
Last tracking update
2026-08-07 09:06:34
Authors
Akretion, Odoo Community Association (OCA), Yves Goldberg (Ygol Internetwork)
Maintainers
Akretion, Odoo Community Association (OCA), Yves Goldberg (Ygol Internetwork)
Committers
Christopher Rogos, Weblate, OCA-git-bot, oca-ci, Vang - Nguyen Phu
Odoo dependencies
odoo/odoo:
- web
- bus
Python dependencies
None
System dependencies
None
Required by
agreement_project, agreement_rebate, agreement_sale, fieldservice_agreement
Description
This module adds an *Agreement* object with the following properties:

- code,
- name,
- link to a partner,
- signature date.
- start date.
- end date.

Optionally, you can also enable using: \* agreement types \* a flag to
set an agreement as a template agreement

![Agreement Form](../static/description/screenshot_form.png)

Code Analysis

Views touched (9)
XML IDNameModelTypeStatus
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)

New fields (12)
  • active Boolean
    default=True
  • agreement_type_id Many2one → agreement.type
    help='Select the type of agreement' string='Agreement Type' args: 'agreement.type'
  • code Char
    required=True tracking=True
  • commercial_partner_id Many2one → res.partner
    compute='_compute_commercial_partner_id' precompute=True store=True string='Commercial Entity' tracking=True args: 'res.partner'
  • company_id Many2one → res.company
    default=<expr> string='Company' args: 'res.company'
  • domain Selection
    compute='_compute_domain' readonly=False selection='_domain_selection' store=True tracking=True
  • end_date Date
    help='When the agreement ends.' tracking=True
  • is_template Boolean
    copy=False help="Set if the agreement is a template. Template agreements don't require a partner." string='Is a Template?'
  • name Char
    required=True tracking=True
  • partner_id Many2one → res.partner
    ondelete='restrict' string='Partner' tracking=True args: 'res.partner'
  • signature_date Date
    tracking=True
  • start_date Date
    help='When the agreement starts.' tracking=True
Public methods (1)
  • copy(self, default=None)
    Always assign a value for code because is required

New fields (3)
  • active Boolean
    default=True
  • domain Selection
    default='sale' args: '_domain_selection'
  • name Char
    required=True
Public methods (0)

No public methods.

New fields (13)
  • group_use_agreement_template Boolean
    implied_group='agreement.group_use_agreement_template' args: 'Use agreement template'
  • group_use_agreement_type Boolean
    implied_group='agreement.group_use_agreement_type' args: 'Use agreement types'
  • module_agreement_legal Boolean
    help='Manage legal aspects of agreements'
  • module_agreement_legal_content Boolean
    help='Add legal content to agreements'
  • module_agreement_product Boolean
    help='Agreement on products'
  • module_agreement_project Boolean
    help='Agreement on projects'
  • module_agreement_rebate Boolean
    help='Rebate in agreements'
  • module_agreement_revision Boolean
    help='Track versions and revisions of legal agreements'
  • module_agreement_sale Boolean
    help='Agreement on sales'
  • module_agreement_signature Boolean
    help='Track signatories and the signed document of agreements'
  • module_agreement_stage Boolean
    help='Add a stage workflow to legal agreements'
  • module_agreement_termination Boolean
    help='Term dates, notices and termination tracking for agreements'
  • module_agreement_type Boolean
    help='Hierarchical agreement types (with sub-types) and review reminders'
Public methods (0)

No public methods.

New fields (2)
  • agreement_ids One2many → agreement
    string='Agreements' args: 'agreement', 'partner_id'
  • agreements_count Integer
    compute='_compute_agreements_count'
Public methods (1)
  • action_open_agreement(self)

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…