Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 11 Odoo series since 8.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
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.14 MB
Module directory on disk
Code analysis 0 migration notes 3 models 4 views 0 HTTP endpoints

Description

This module adds the fields Start Date and End Date on sale order lines (requied fields when the product has the Must Have Start and End Dates property). You can also define a Default Start Date and Default End Date on the sale order; when set, these dates will be used by default on new sale order lines. Upon invoice creation, the values of the start/end dates of the sale order line are copied to the start/end dates of invoice lines.

This module is a technical module: it is designed to be used with other modules such as the sale_rental module.

Dependencies

Odoo dependencies
Python dependencies
None
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 4

XML IDNameModelTypeStatus
sale_order_line_view_form_readonly sale.order.line form Inherits sale.sale_order_line_view_form_readonly
sale_report_view_tree sale.report tree Inherits sale.sale_report_view_tree
view_order_form start.end.dates.view_order_form sale.order form Inherits sale.view_order_form
view_order_line_tree sale.order.line tree Inherits sale.view_order_line_tree

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (2)
  • default_end_date Date
    compute='_compute_default_end_date' readonly=False store=True
  • default_start_date Date
    compute='_compute_default_start_date' readonly=False store=True
Public methods (0)

No public methods.

New fields (4)
  • end_date Date
    compute='_compute_end_date' readonly=False store=True
  • must_have_dates Boolean
    related='product_id.must_have_dates'
  • number_of_days Integer
    compute='_compute_number_of_days' inverse='_inverse_number_of_days' readonly=False store=True string='Number of Days'
  • start_date Date
    compute='_compute_start_date' readonly=False store=True
Public methods (0)

No public methods.

New fields (3)
  • end_date Date
    readonly=True
  • number_of_days Integer
    readonly=True
  • start_date Date
    readonly=True
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…