Agreement Legal Sale

agreement_legal_sale
REPOSITORY
REPOSITORYOCA/contract
GIT
GIThttps://github.com/OCA/contract.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/contract/tree/14.0/agreement_legal_sale
VERSION
VERSION 1.0.1
CATEGORY
CATEGORYAgreement
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Open Source Integrators
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Open Source Integrators
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, HemanginiPatel, Patrick Wilson, Jérémy Didderen
WEBSITE
WEBSITEhttps://github.com/OCA/contract
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:55
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/contract:
    - agreement_legal
    - agreement
    - agreement_sale
    - agreement_serviceprofile
odoo/odoo:
    - contacts
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - product
    - uom
    - sale_management
    - sale
    - sales_team
    - payment
    - account
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
agreement_sale_form_view agreement.form.view agreement page Inherits agreement_legal.partner_agreement_form_view
sale_order_agreement_form_view sale.order.agreement.form.view sale.order field Inherits agreement_sale.sale_order_agreement_form_view
Models touched (3)

New fields (2)
  • analytic_account_id Many2one → account.analytic.account
    copy=False args: 'account.analytic.account', 'Analytic Account'
  • sale_id Many2one → sale.order
    string='Sales Order' args: 'sale.order'
Public methods (0)

No public methods.

New fields (1)
  • sale_line_id Many2one → sale.order.line
    string='Sales Order Line' args: 'sale.order.line'
Public methods (0)

No public methods.

New fields (1)
  • agreement_template_id Many2one → agreement
    domain="[('is_template', '=', True)]" string='Agreement Template' args: 'agreement'
Public methods (2)
  • action_confirm(self)
  • create_sp_qty(self, line, order)
    Create line.product_uom_qty SP's
REPOSITORY
REPOSITORYOCA/contract
GIT
GIThttps://github.com/OCA/contract.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/contract/tree/12.0/agreement_legal_sale
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYAgreement
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Open Source Integrators
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Open Source Integrators
COMMITTERS
COMMITTERSAlexandre Fayolle, Maxime Chambreuil, GitHub, Daniel Reis, OCA Transbot, oca-travis, Weblate, OCA-git-bot, scampbell, Murtuza Saleh, Marcel Savegnago
WEBSITE
WEBSITEhttps://github.com/OCA/contract
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:15
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/contract:
    - agreement_legal
    - agreement
    - agreement_sale
    - agreement_account
    - agreement_serviceprofile
OCA/sale-workflow:
    - sale_commercial_partner
odoo/odoo:
    - contacts
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - product
    - decimal_precision
    - uom
    - sale_management
    - sale
    - sales_team
    - payment
    - account
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
agreement_sale_form_view agreement.form.view agreement page Inherits agreement_legal.partner_agreement_form_view
sale_order_agreement_form_view sale.order.agreement.form.view sale.order field Inherits agreement_sale.sale_order_agreement_form_view
Models touched (3)

New fields (2)
  • analytic_account_id Many2one → account.analytic.account
    copy=False args: 'account.analytic.account', 'Analytic Account'
  • sale_id Many2one → sale.order
    string='Sales Order' args: 'sale.order'
Public methods (0)

No public methods.

New fields (1)
  • sale_line_id Many2one → sale.order.line
    string='Sales Order Line' args: 'sale.order.line'
Public methods (0)

No public methods.

New fields (1)
  • agreement_template_id Many2one → agreement
    domain="[('is_template', '=', True)]" string='Agreement Template' args: 'agreement'
Public methods (2)
  • action_confirm(self)
  • create_sp_qty(self, line, order)
    Create line.product_uom_qty SP's