Account Invoice Start End Dates Default

Beta License: LGPL-3 OCA/account-closing Translate me on Weblate Try me on Runboat

This module adds two company options, in the Vendor Bills and Customer Invoices sections of the settings, to use the invoice date as default Start Date and End Date of the lines of vendor bills and of customer invoices.

The lines without dates are ignored by the cut-offs based on start/end dates: with these options, the product lines that have no dates get the invoice date as soon as it is set, so that the dates only have to be entered on the lines that refer to another period. The dates already set on a line are never overwritten.

The dates refer to the period of the invoice/move: when an invoice/move is duplicated, the lines of the copy don’t get the dates of the original lines. The lines of a credit note keep the dates of the reversed invoice.

Table of contents

Configuration

To use the invoice date as default Start Date and End Date of the invoice lines, go to Invoicing > Configuration > Settings and enable:

When the invoice date is set, the invoice lines that don’t have a Start Date and an End Date get the invoice date as Start Date and End Date. On customer invoices, the invoice date is often left empty until the invoice is posted: the lines get it at that moment. The dates already set on a line are never overwritten, so you can still enter another period on the lines that need it. The lines whose product has the option Must Have Start/End Dates get the invoice date too.

When an invoice is duplicated, or a vendor bill is filled from a previous one with the Auto-Complete field, the lines of the new invoice get its invoice date, not the dates of the original lines.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Lorenzo Battistini

Contributors

  • Lorenzo Battistini

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

eLBati

This module is part of the OCA/account-closing project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.