Account Invoice Start End Dates

account_invoice_start_end_dates
REPOSITORY
REPOSITORYOCA/account-closing
GIT
GIThttps://github.com/OCA/account-closing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-closing/tree/19.0/account_invoice_start_end_dates
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-closing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:50
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 field Inherits account.account_invoice_report_view_tree
product_template_form_view add.must.have.dates.on.product.template.form product.template group Inherits account.product_template_form_view
view_move_form start_end_dates.view_move_form account.move xpath Inherits account.view_move_form
view_move_line_form start_end_dates.view_move_line_form account.move.line field Inherits account.view_move_line_form
view_move_line_tree start_end_dates.view_move_line_tree account.move.line field Inherits account.view_move_line_tree
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.

REPOSITORY
REPOSITORYOCA/account-closing
GIT
GIThttps://github.com/OCA/account-closing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-closing/tree/18.0/account_invoice_start_end_dates
VERSION
VERSION 1.3.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSStéphane Bidoul, Alexis de Lattre, Weblate, OCA-git-bot, oca-ci, Tobias Zehntner
WEBSITE
WEBSITEhttps://github.com/OCA/account-closing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 field Inherits account.account_invoice_report_view_tree
product_template_form_view add.must.have.dates.on.product.template.form product.template group Inherits account.product_template_form_view
view_move_form start_end_dates.view_move_form account.move xpath Inherits account.view_move_form
view_move_line_form start_end_dates.view_move_line_form account.move.line field Inherits account.view_move_line_form
view_move_line_tree start_end_dates.view_move_line_tree account.move.line field Inherits account.view_move_line_tree
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 args: 'Line End Date'
  • must_have_dates Boolean
    related='product_id.must_have_dates'
  • start_date Date
    index=True args: 'Line Start Date'
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.

REPOSITORY
REPOSITORYOCA/account-closing
GIT
GIThttps://github.com/OCA/account-closing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-closing/tree/17.0/account_invoice_start_end_dates
VERSION
VERSION 1.4.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSStéphane Bidoul, Alexis de Lattre, Weblate, OCA-git-bot, Quentin Groulard, oca-ci, Henry Backman, thaolt
WEBSITE
WEBSITEhttps://github.com/OCA/account-closing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:09
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 (4)
XML IDNameModelTypeStatus
product_template_form_view add.must.have.dates.on.product.template.form product.template group Inherits account.product_template_form_view
view_move_form start_end_dates.view_move_form account.move xpath Inherits account.view_move_form
view_move_line_form start_end_dates.view_move_line_form account.move.line field Inherits account.view_move_line_form
view_move_line_tree start_end_dates.view_move_line_tree account.move.line field Inherits account.view_move_line_tree
Models touched (3)

New fields (0)

No new fields.

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.

REPOSITORY
REPOSITORYOCA/account-closing
GIT
GIThttps://github.com/OCA/account-closing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-closing/tree/16.0/account_invoice_start_end_dates
VERSION
VERSION 1.5.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSStéphane Bidoul, Alexis de Lattre, Sébastien Alix, Weblate, OCA-git-bot, Maxime Franco, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-closing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
product_template_form_view add.must.have.dates.on.product.template.form product.template group Inherits account.product_template_form_view
view_move_form start_end_dates.view_move_form account.move xpath Inherits account.view_move_form
view_move_line_form start_end_dates.view_move_line_form account.move.line field Inherits account.view_move_line_form
view_move_line_tree account.move.line.tree account.move.line field Inherits account.view_move_line_tree
Models touched (3)

New fields (0)

No new fields.

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.

REPOSITORY
REPOSITORYOCA/account-closing
GIT
GIThttps://github.com/OCA/account-closing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-closing/tree/15.0/account_invoice_start_end_dates
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, OCA Transbot, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/account-closing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:41
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
product_template_form_view add.must.have.dates.on.product.template.form product.template group Inherits account.product_template_form_view
view_move_form start_end_dates.view_move_form account.move xpath Inherits account.view_move_form
view_move_line_form start_end_dates.view_move_line_form account.move.line field Inherits account.view_move_line_form
Models touched (3)

New fields (0)

No new fields.

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/move lines that have this product.' string='Must Have Start/End Dates'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-closing
GIT
GIThttps://github.com/OCA/account-closing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-closing/tree/14.0/account_invoice_start_end_dates
VERSION
VERSION 1.3.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, OCA Transbot, oca-travis, Weblate, OCA-git-bot, oca-git-bot, matthieu.saison
WEBSITE
WEBSITEhttps://github.com/OCA/account-closing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:10
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
product_template_form_view add.must.have.dates.on.product.template.form product.template group Inherits account.product_template_form_view
view_move_form start_end_dates.view_move_form account.move xpath Inherits account.view_move_form
view_move_line_form start_end_dates.view_move_line_form account.move.line field Inherits account.view_move_line_form
view_move_line_tree account.move.line.tree account.move.line field Inherits account.view_move_line_tree
view_move_line_tree_grouped account.move.line field Inherits account.view_move_line_tree_grouped
Models touched (3)

New fields (0)

No new fields.

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/move lines that have this product.' string='Must Have Start/End Dates'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-closing
GIT
GIThttps://github.com/OCA/account-closing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-closing/tree/13.0/account_invoice_start_end_dates
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSStéphane Bidoul, Alexis de Lattre, GitHub, OCA Transbot, oca-travis, Weblate, OCA-git-bot, OriolVForgeFlow
WEBSITE
WEBSITEhttps://github.com/OCA/account-closing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
product_template_form_view add.must.have.dates.on.product.template.form product.template group Inherits account.product_template_form_view
view_move_form start_end_dates.view_move_form account.move xpath Inherits account.view_move_form
view_move_line_form start_end_dates.view_move_line_form account.move.line field Inherits account.view_move_line_form
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • action_post(self)

New fields (2)
  • end_date Date
    index=True
  • 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 and End Dates'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-closing
GIT
GIThttps://github.com/OCA/account-closing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-closing/tree/12.0/account_invoice_start_end_dates
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Pedro M. Baeza, GitHub, OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/account-closing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:24
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
invoice_form prepaid.cutoff.invoice_form account.invoice xpath Inherits account.invoice_form
invoice_supplier_form prepaid.cutoff.invoice_supplier_form account.invoice xpath Inherits account.invoice_supplier_form
product_template_form_view add.must.have.dates.on.product.template.form product.template group Inherits account.product_template_form_view
view_invoice_line_form prepaid.cutoff.invoice_line_form account.invoice.line xpath Inherits account.view_invoice_line_form
view_invoice_line_tree prepaid.cutoff.invoice_line_tree account.invoice.line field Inherits account.view_invoice_line_tree
view_move_form prepaid.cutoff.start.end.date.view_move_form account.move xpath Inherits account.view_move_form
view_move_line_form invoice.start.end.dates.view_move_line_form account.move.line field Inherits account.view_move_line_form
Models touched (4)

New fields (0)

No new fields.

Public methods (4)
  • action_move_create(self)
    Check that products with must_have_dates=True have Start and End Dates
  • inv_line_characteristic_hashcode(self, invoice_line)
    Add start and end dates to hashcode used when the option "Group Invoice Lines" is active on the Account Journal
  • invoice_line_move_line_get(self)
    @api.model
    Copy from invoice line to move lines
  • line_get_convert(self, line, part)
    @api.model
    Copy from invoice to move lines

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

No public methods.

New fields (2)
  • end_date Date
    index=True
  • 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 and End Dates'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-closing
GIT
GIThttps://github.com/OCA/account-closing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-closing/tree/11.0/account_invoice_start_end_dates
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSOCA Transbot, oca-travis, Weblate, OCA-git-bot, mpanarin, oleksandrpaziuk
WEBSITE
WEBSITEhttps://github.com/OCA/account-closing
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:24:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - analytic
    - web_planner
    - portal
    - http_routing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
invoice_form prepaid.cutoff.invoice_form account.invoice xpath Inherits account.invoice_form
invoice_supplier_form prepaid.cutoff.invoice_supplier_form account.invoice xpath Inherits account.invoice_supplier_form
product_template_form_view add.must.have.dates.on.product.template.form product.template group Inherits account.product_template_form_view
view_invoice_line_form prepaid.cutoff.invoice_line_form account.invoice.line xpath Inherits account.view_invoice_line_form
view_invoice_line_tree prepaid.cutoff.invoice_line_tree account.invoice.line field Inherits account.view_invoice_line_tree
view_move_form prepaid.cutoff.start.end.date.view_move_form account.move xpath Inherits account.view_move_form
view_move_line_form invoice.start.end.dates.view_move_line_form account.move.line field Inherits account.view_move_line_form
Models touched (4)

New fields (0)

No new fields.

Public methods (4)
  • action_move_create(self)
    @api.multi
    Check that products with must_have_dates=True have Start and End Dates
  • inv_line_characteristic_hashcode(self, invoice_line)
    Add start and end dates to hashcode used when the option "Group Invoice Lines" is active on the Account Journal
  • invoice_line_move_line_get(self)
    @api.model
    Copy from invoice line to move lines
  • line_get_convert(self, line, part)
    @api.model
    Copy from invoice to move lines

New fields (3)
  • end_date Date
    args: 'End Date'
  • must_have_dates Boolean
    readonly=True related='product_id.must_have_dates'
  • start_date Date
    args: 'Start Date'
Public methods (0)

No public methods.

New fields (2)
  • end_date Date
    index=True args: 'End Date'
  • start_date Date
    index=True args: 'Start Date'
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 and End Dates'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-closing
GIT
GIThttps://github.com/OCA/account-closing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-closing/tree/10.0/account_invoice_start_end_dates
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, GitHub, OCA Transbot, Adrien Peiffer (ACSONE), oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
invoice_form prepaid.cutoff.invoice_form account.invoice xpath Inherits account.invoice_form
invoice_supplier_form prepaid.cutoff.invoice_supplier_form account.invoice xpath Inherits account.invoice_supplier_form
product_template_form_view add.must.have.dates.on.product.template.form product.template group Inherits account.product_template_form_view
view_invoice_line_form prepaid.cutoff.invoice_line_form account.invoice.line field Inherits account.view_invoice_line_form
view_invoice_line_tree prepaid.cutoff.invoice_line_tree account.invoice.line field Inherits account.view_invoice_line_tree
view_move_form prepaid.cutoff.start.end.date.view_move_form account.move xpath Inherits account.view_move_form
view_move_line_form invoice.start.end.dates.view_move_line_form account.move.line field Inherits account.view_move_line_form
view_move_line_form2 invoice.start.end.dates.view_move_line_form2 account.move.line field Inherits account.view_move_line_form2
Models touched (4)

New fields (0)

No new fields.

Public methods (4)
  • action_move_create(self)
    @api.multi
    Check that products with must_have_dates=True have Start and End Dates
  • inv_line_characteristic_hashcode(self, invoice_line)
    Add start and end dates to hashcode used when the option "Group Invoice Lines" is active on the Account Journal
  • invoice_line_move_line_get(self)
    @api.model
    Copy from invoice line to move lines
  • line_get_convert(self, line, part)
    @api.model
    Copy from invoice to move lines

New fields (3)
  • end_date Date
    args: 'End Date'
  • must_have_dates Boolean
    readonly=True related='product_id.must_have_dates' store=True
  • start_date Date
    args: 'Start Date'
Public methods (0)

No public methods.

New fields (2)
  • end_date Date
    index=True args: 'End Date'
  • start_date Date
    index=True args: 'Start Date'
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 and End Dates'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/account-closing
GIT
GIThttps://github.com/OCA/account-closing.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/account-closing/tree/9.0/account_invoice_start_end_dates
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, OCA Transbot, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:24
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - report
    - analytic
    - web_tip
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
invoice_form prepaid.cutoff.invoice_form account.invoice xpath Inherits account.invoice_form
invoice_supplier_form prepaid.cutoff.invoice_supplier_form account.invoice xpath Inherits account.invoice_supplier_form
product_template_form_view add.must.have.dates.on.product.template.form product.template group Inherits account.product_template_form_view
view_invoice_line_form prepaid.cutoff.invoice_line_form account.invoice.line xpath Inherits account.view_invoice_line_form
view_invoice_line_tree prepaid.cutoff.invoice_line_tree account.invoice.line field Inherits account.view_invoice_line_tree
view_move_form prepaid.cutoff.start.end.date.view_move_form account.move xpath Inherits account.view_move_form
view_move_line_form invoice.start.end.dates.view_move_line_form account.move.line field Inherits account.view_move_line_form
view_move_line_form2 invoice.start.end.dates.view_move_line_form2 account.move.line field Inherits account.view_move_line_form2
Models touched (4)

New fields (0)

No new fields.

Public methods (4)
  • action_move_create(self)
    @api.multi
    Check that products with must_have_dates=True have Start and End Dates
  • inv_line_characteristic_hashcode(self, invoice_line)
    Add start and end dates to hashcode used when the option "Group Invoice Lines" is active on the Account Journal
  • invoice_line_move_line_get(self)
    @api.model
    Copy from invoice line to move lines
  • line_get_convert(self, line, part)
    @api.model
    Copy from invoice to move lines

New fields (3)
  • end_date Date
    args: 'End Date'
  • must_have_dates Boolean
    readonly=True related='product_id.must_have_dates'
  • start_date Date
    args: 'Start Date'
Public methods (0)

No public methods.

New fields (2)
  • end_date Date
    index=True args: 'End Date'
  • start_date Date
    index=True args: 'Start Date'
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 and End Dates'
Public methods (0)

No public methods.