Agreement Account

agreement_account
REPOSITORY
REPOSITORYOCA/agreement
GIT
GIThttps://github.com/OCA/agreement.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/agreement/tree/18.0/agreement_account
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYContract
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSEnric Tobella, Weblate, OCA-git-bot, oca-ci, Bhavesh Heliconia
WEBSITE
WEBSITEhttps://github.com/OCA/agreement
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/agreement:
    - agreement
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds *Agreement* field on invoices.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
agreement_form invoice.button.agreement.form agreement div Inherits agreement.agreement_form
invoice_form agreement.customer.invoice.form account.move xpath Inherits account.view_move_form
invoice_supplier_form agreement.supplier.invoice.form account.move xpath Inherits account.view_move_form
view_account_invoice_filter agreement.account.move.search account.move field Inherits account.view_account_invoice_filter
Models touched (2)

New fields (1)
  • agreement_id Many2one → agreement
    comodel_name='agreement' copy=False ondelete='restrict' string='Agreement' tracking=True
Public methods (0)

No public methods.

New fields (3)
  • in_invoice_count Integer
    compute='_compute_invoice_count' string='# of Vendor Bills'
  • invoice_ids One2many → account.move
    readonly=True string='Invoices' args: 'account.move', 'agreement_id'
  • out_invoice_count Integer
    compute='_compute_invoice_count' string='# of Customer Invoices'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/agreement
GIT
GIThttps://github.com/OCA/agreement.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/agreement/tree/17.0/agreement_account
VERSION
VERSION 1.0.2
CATEGORY
CATEGORYContract
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSEnric Tobella, Weblate, OCA-git-bot, oca-ci, ilo
WEBSITE
WEBSITEhttps://github.com/OCA/agreement
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:04
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/agreement:
    - agreement
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - account
    - onboarding
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module adds *Agreement* field on invoices.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
agreement_form invoice.button.agreement.form agreement div Inherits agreement.agreement_form
invoice_form agreement.customer.invoice.form account.move xpath Inherits account.view_move_form
invoice_supplier_form agreement.supplier.invoice.form account.move xpath Inherits account.view_move_form
view_account_invoice_filter agreement.account.move.search account.move field Inherits account.view_account_invoice_filter
Models touched (2)

New fields (1)
  • agreement_id Many2one → agreement
    comodel_name='agreement' copy=False ondelete='restrict' string='Agreement' tracking=True
Public methods (0)

No public methods.

New fields (3)
  • in_invoice_count Integer
    compute='_compute_invoice_count' string='# of Vendor Bills'
  • invoice_ids One2many → account.move
    readonly=True string='Invoices' args: 'account.move', 'agreement_id'
  • out_invoice_count Integer
    compute='_compute_invoice_count' string='# of Customer Invoices'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/contract
GIT
GIThttps://github.com/OCA/contract.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/contract/tree/14.0/agreement_account
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYContract
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, Patrick Wilson
WEBSITE
WEBSITEhttps://github.com/OCA/contract
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:55
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/contract:
    - agreement
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - account
    - product
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
agreement_form invoice.button.agreement.form agreement div Inherits agreement.agreement_form
invoice_form agreement.customer.invoice.form account.move xpath Inherits account.view_move_form
invoice_supplier_form agreement.supplier.invoice.form account.move xpath Inherits account.view_move_form
view_account_invoice_filter agreement.account.move.search account.move field Inherits account.view_account_invoice_filter
Models touched (2)

New fields (1)
  • agreement_id Many2one → agreement
    comodel_name='agreement' copy=False ondelete='restrict' readonly=True states={'draft': [('readonly', False)]} string='Agreement' tracking=True
Public methods (0)

No public methods.

New fields (3)
  • in_invoice_count Integer
    compute='_compute_invoice_count' string='# of Vendor Bills'
  • invoice_ids One2many → account.move
    readonly=True string='Invoices' args: 'account.move', 'agreement_id'
  • out_invoice_count Integer
    compute='_compute_invoice_count' string='# of Customer Invoices'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/contract
GIT
GIThttps://github.com/OCA/contract.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/contract/tree/12.0/agreement_account
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYContract
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/contract
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/contract:
    - agreement
odoo/odoo:
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - account
    - product
    - decimal_precision
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
agreement_form invoice.button.agreement.form agreement div Inherits agreement.agreement_form
invoice_form agreement.customer.invoice.form account.invoice xpath Inherits account.invoice_form
invoice_supplier_form agreement.supplier.invoice.form account.invoice xpath Inherits account.invoice_supplier_form
view_account_invoice_filter agreement.account.invoice.search account.invoice field Inherits account.view_account_invoice_filter
Models touched (2)

New fields (1)
  • agreement_id Many2one → agreement
    comodel_name='agreement' copy=False ondelete='restrict' readonly=True states={'draft': [('readonly', False)]} string='Agreement' track_visibility='onchange'
Public methods (0)

No public methods.

New fields (3)
  • in_invoice_count Integer
    compute='_compute_invoice_count' string='# of Vendor Bills'
  • invoice_ids One2many → account.invoice
    readonly=True string='Invoices' args: 'account.invoice', 'agreement_id'
  • out_invoice_count Integer
    compute='_compute_invoice_count' string='# of Customer Invoices'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/contract
GIT
GIThttps://github.com/OCA/contract.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/contract/tree/10.0/agreement_account
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYContract
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, GitHub, OCA Transbot, David Beal, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:54
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
agreement_form agreement.form agreement form New
agreement_search agreement.search agreement search New
agreement_tree agreement.tree agreement tree New
invoice_form agreement.customer.invoice.form account.invoice xpath Inherits account.invoice_form
invoice_supplier_form agreement.supplier.invoice.form account.invoice xpath Inherits account.invoice_supplier_form
view_account_invoice_filter agreement.account.invoice.search account.invoice group Inherits account.view_account_invoice_filter
Models touched (2)

New fields (1)
  • agreement_id Many2one → agreement
    ondelete='restrict' readonly=True states={'draft': [('readonly', False)]} string='Agreement' track_visibility='onchange' args: 'agreement'
Public methods (0)

No public methods.

New fields (9)
  • active Boolean
    default=True
  • agreement_type Selection
    required=True string='Type' args: [('sale', 'Sale'), ('purchase', 'Purchase')]
  • code Char
    copy=False required=True
  • company_id Many2one → res.company
    default=<expr> string='Company' args: 'res.company'
  • in_invoice_ids One2many → account.invoice
    domain=[('type', 'in', ('in_invoice', 'in_refund'))] readonly=True string='Supplier Invoices' args: 'account.invoice', 'agreement_id'
  • name Char
    required=True
  • out_invoice_ids One2many → account.invoice
    domain=[('type', 'in', ('out_invoice', 'out_refund'))] readonly=True string='Customer Invoices' args: 'account.invoice', 'agreement_id'
  • partner_id Many2one → res.partner
    domain=[('parent_id', '=', False)] ondelete='restrict' required=True string='Partner' args: 'res.partner'
  • signature_date Date
Public methods (1)
  • name_get(self)
STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/agreement
PULL REQUEST
PULL REQUEST[19.0][MIG] agreement_account: Migration to 19.0 (#112)