Skip to content
Health
54/100
fair
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 22 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity12/25
    In 2 Odoo series since 12.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.05 MB
Module directory on disk
Code analysis 0 migration notes 2 models 1 view 0 HTTP endpoints

Description

This module adds the fields Start Date and End Date on purchase 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 purchase order; when set, these dates will be used by default on new purchase order lines. Upon invoice creation, the values of the start/end dates of the purchase order line are copied to the start/end dates of invoice lines.

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 1

XML IDNameModelTypeStatus
purchase_order_form purchase.order.form.start.end.dates. purchase.order form Inherits purchase.purchase_order_form

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (2)
  • default_end_date Date
  • default_start_date Date
Public methods (2)
  • default_end_date_change(self)
    @api.onchange('default_end_date')
  • default_start_date_change(self)
    @api.onchange('default_start_date')

New fields (4)
  • end_date Date
    readonly=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
    readonly=True
Public methods (3)
  • end_date_change(self)
    @api.onchange('end_date')
  • start_date_change(self)
    @api.onchange('start_date')
  • start_end_dates_product_id_change(self)
    @api.onchange('product_id')

Loading…