Repository
OCA/account-closing · module folder · Try on Runboat
Module version
1.0.0
Category
Accounting & Finance
Folder size
0.1 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/account-closing
Last tracking update
2026-08-07 09:06:27
Authors
Akretion, Odoo Community Association (OCA)
Maintainers
Akretion, Odoo Community Association (OCA)
Committers
Alexis de Lattre, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sale_partner_primeship
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](https://github.com/OCA/sale-workflow): 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](https://github.com/OCA/account-closing): these modules allow
  easy computation of prepaid expenses, prepaid revenues, accrued
  expense and accrued revenue using start/end dates.

Code Analysis

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…