# Update Invoice’s Due Date

This module sets the invoice’s due date field as editable (Even if the invoice state is done and a Payment Term is set).

When the field is edited, the invoice’s due date is updated, along with the related invoice lines.

Table of contents

- Configuration
- Usage
- Bug Tracker
- Credits
  - Authors
  - Contributors
  - Maintainers

## Configuration

To be able to edit this field, the user needs to have access to the group `Allow to change due date`.

## Usage

To edit the invoice’s due date, we have several scenarios:

- A Payment Term is set. In this case, no extra field will be shown while in draft, as the standard flow allows us to edit the Payment Term directly, or delete it and set a due date manually. Once the invoice is posted, a new field will be shown in the view above the Payment Term, allowing the due date to be changed.
- No Payment Term is set, and the due date is set manually. In this case, the due date is editable while in draft, as with the standard Odoo flow. However, once posted, the field will remain editable.

(All the above are considering the user belongs to the security group refered in “Configuration”)

## 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

- Vauxoo

### Contributors

- Luis González <lgonzalez@vauxoo.com>
- Luis Torres <luis_t@vauxoo.com>
- Tecnativa:
  - João Marques
  - Juan Carlos Oñate

### Maintainers

This module is maintained by the OCA.

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 maintainers:

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

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