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.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Lets authorized users edit the due date of an invoice, even after it is posted, and keeps the payment term lines in sync. A new security group controls who is allowed to make this change.
This module makes the Due Date field on customer and vendor invoices editable for users who belong to the new "Allow to change due date" security group. Without that group, the due date stays read-only as usual.
On the invoice form, a second Due Date field appears next to the invoice date. It is only shown when a payment term is set, and it is only editable while the invoice is in draft or posted state. Changing it updates the invoice's due date.
Business rules added by the module: - If a user without the special group tries to change the due date of a posted invoice, Odoo blocks the change with an error message. - When the due date of a posted invoice is changed, the maturity dates of the receivable or payable journal items linked to that invoice are updated automatically, so the accounting entries stay consistent with the new due date.
The module touches the account.move model and its invoice form view. It adds one security group, "Allow to change due date", which administrators can assign to the users who need this ability.
Depends on
Models and fields (1)
- account.move · extends an existing modelinvoice_date_due (Due Date), invoice_date_due_payment_term (Due Date Payment Term)
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 7 confirmed, 2 with no information of 9 versions.
Sources · Odoo 17.0
Confirmed on 2026-11-03 in branch 17.0 of OCA/account-invoicing.
terminal Installation and usage
OCA documentation · Odoo 18.0Configuration
Source · Odoo 18.0To be able to edit this field, the user needs to have access to the group Allow to change due date.
Usage
Source · Odoo 18.0To 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")
No verified information in OCA: Installation.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.