Skip to content
Health
90/100
good
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 11 months ago
  • Required by20/25
    4 modules depend on it
  • Maturity25/25
    In 11 Odoo series since 9.0

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

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

Description

This module adds the fields Start Date and End Date on invoice/move lines.

It also adds an option Must Have Start/End Dates on the product form (in the Accounting tab) ; if you enable this option, you will get an error message if you try to post an invoice/move that constains such a product on one of its lines and doesn't have start/end dates on that line.

If you use this module, you may also be interested in several other modules:

  • the module sale_start_end_dates from the sale-workflow OCA project: this module adds the fields Start Date and End Date on sale order lines and copies the information from sale order lines to invoice/move lines.
  • the modules account_cutoff_prepaid and account_cutoff_accrual_dates in the account-closing OCA projct: these modules allow easy computation of prepaid expenses, prepaid revenues, accrued expense and accrued revenue using start/end dates.

Dependencies

Code analysis

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

Views touched 5

XML IDNameModelTypeStatus
account_invoice_report_view_tree account.invoice.report tree Inherits account.account_invoice_report_view_tree
product_template_form_view add.must.have.dates.on.product.template.form product.template form Inherits account.product_template_form_view
view_move_form start_end_dates.view_move_form account.move form Inherits account.view_move_form
view_move_line_form start_end_dates.view_move_line_form account.move.line form Inherits account.view_move_line_form
view_move_line_tree start_end_dates.view_move_line_tree account.move.line tree Inherits account.view_move_line_tree

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 3

New fields (2)
  • end_date Date
    readonly=True
  • start_date Date
    readonly=True
Public methods (0)

No public methods.

New fields (3)
  • end_date Date
    index=True
  • must_have_dates Boolean
    related='product_id.must_have_dates'
  • start_date Date
    index=True
Public methods (0)

No public methods.

New fields (1)
  • must_have_dates Boolean
    help='If this option is active, the user will have to enter a Start Date and an End Date on the invoice lines that have this product.' string='Must Have Start/End Dates'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…