PMS - Contracts

pms_contract
REPOSITORY
REPOSITORYOCA/pms
GIT
GIThttps://github.com/OCA/pms.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/pms/tree/19.0/pms_contract
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYGeneric Modules/Property Management System
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Gray Matter Logic
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Gray Matter Logic
COMMITTERS
COMMITTERSMaxime Chambreuil, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/pms
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:50
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/contract:
    - contract
OCA/pms:
    - pms_account
    - pms_base
odoo/odoo:
    - base
    - account
    - base_setup
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_geolocalize
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module links recurring contracts to the Property Management System.

It includes:

- **Contract counter on properties**: view active contracts linked to a property.
- **Property field on contracts**: assign a contract to one or more properties.
- **Smart buttons**: one-click navigation between properties and their contracts.
- **Recurring invoice integration**: contract lines are linked to property services for automated billing.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
view_contract_form contract.contract.property.form contract.contract xpath Inherits contract.contract_contract_form_view
view_pms_property_form pms.property.form pms.property xpath Inherits pms_base.view_pms_property_form
view_pms_service_form pms.service.form pms.service field Inherits pms_base.view_pms_service_form
view_pms_service_tree pms.service.tree pms.service field Inherits pms_base.view_pms_service_tree
Models touched (4)

New fields (2)
  • property_count Integer
    compute='_compute_get_properties' copy=False readonly=True
  • property_ids Many2many → pms.property
    compute='_compute_get_properties' copy=False readonly=True string='Properties' args: 'pms.property'
Public methods (1)
  • action_view_properties(self)

New fields (1)
  • property_id Many2one → pms.property
    string='Property' args: 'pms.property'
Public methods (0)

No public methods.

New fields (2)
  • contract_count Integer
    compute='_compute_get_contracts' copy=False readonly=True
  • contract_ids Many2many → contract.contract
    compute='_compute_get_contracts' copy=False readonly=True string='Contracts' args: 'contract.contract'
Public methods (1)
  • action_view_contracts(self)

New fields (1)
  • contract_id Many2one → contract.contract
    copy=False string='Contract' args: 'contract.contract'
Public methods (0)

No public methods.