Skip to content
Health
55/100
fair
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 9 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 18.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis 0 migration notes 3 models 3 views 0 HTTP endpoints

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).

Dependencies

Odoo dependencies
Python dependencies
python-dateutil
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 3

XML IDNameModelTypeStatus
product_contract_configurator_form_views product.contract.configurator form Inherits product_contract.product_contract_configurator_form
product_template_form_view product.template form Inherits product_contract.product_template_form_contract_view
sale_order_form_view sale.order form Inherits product_contract.view_order_form

HTTP endpoints 0

No HTTP endpoints found for this module.

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.