Product Contract Recurrence In Price

product_contract_recurrence_in_price
REPOSITORY
REPOSITORYOCA/contract
GIT
GIThttps://github.com/OCA/contract.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/contract/tree/18.0/product_contract_recurrence_in_price
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYContract Management
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, Quentin Groulard, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/contract
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/contract:
    - product_contract
    - contract_termination
    - contract_line_successor
    - contract
odoo/odoo:
    - product
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - uom
    - account
    - onboarding
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - sale
    - sales_team
    - account_payment
    - payment
    - utm
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-dateutil
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module extends the functionality of ``product_contract`` to add an option to compute
the total amounts on "contract" Sale Order lines, including every invoicing planned.

For instance, a product worth 10€ invoiced every month for one year would have a total
of 120€ (unit_price * #invoices) instead of 10€ (unit_price * quantity).

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
product_contract_configurator_form_views product.contract.configurator field Inherits product_contract.product_contract_configurator_form
product_template_form_view product.template field Inherits product_contract.product_template_form_contract_view
sale_order_form_view sale.order xpath Inherits product_contract.view_order_form
Models touched (3)

New fields (1)
  • include_recurrence_in_price Boolean
    help='The amounts of the Sale Order Line will be multipliedby the number of times the line will be invoiced.'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • include_recurrence_in_price Boolean
    compute='_compute_product_contract_data' help='The amounts of the Sale Order Line will be multipliedby the number of times the line will be invoiced.' precompute=True readonly=False store=True
  • recurring_invoicing_number Float
    compute='_compute_recurring_invoice_number' digits=(16, 1) help='Number of times a line will be invoiced.' precompute=True readonly=False store=True
Public methods (0)

No public methods.