[IMP] recurring_rental_billing: only write SO invoiced date on invoice confirm - #2902
Closed
fw-bot wants to merge 1 commit into
Closed
[IMP] recurring_rental_billing: only write SO invoiced date on invoice confirm#2902fw-bot wants to merge 1 commit into
fw-bot wants to merge 1 commit into
Conversation
…e confirm Before this commit, when creating a draft invoice using the custom button Consolidated Down Payment, all the invoice amount was immediately considered invoiced, even if the draft invoice was deleted, with no way of creating another one with said button. In this commit, we add new fields and an automation on invoice confirmation to allow the creation of multiple draft invoices at the same time, deletions, etc., only considering the amount invoice when one of those invoices is confirmed by storing the invoice's date and delaying the SO's x_last_invoice date field write. In addition, this commit also: - changes the 'to invoice' amount computation by not considering the cancelled SOs anymore. - adds the Consolidated Down Payment action to the partner list view. task-6512188 X-original-commit: 86f4e11
Collaborator
Author
|
@trcazier this PR targets master and is the last of the forward-port chain containing:
To merge the full chain, use
More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port |
Author
|
@trcazier ci/industry failed on this forward-port PR |
Contributor
|
@robodoo r+ |
Collaborator
|
@trcazier you may want to rebuild or fix this PR as it has failed CI. |
Collaborator
|
@robodoo override=ci/industry |
robodoo
pushed a commit
that referenced
this pull request
Sep 3, 2026
…e confirm Before this commit, when creating a draft invoice using the custom button Consolidated Down Payment, all the invoice amount was immediately considered invoiced, even if the draft invoice was deleted, with no way of creating another one with said button. In this commit, we add new fields and an automation on invoice confirmation to allow the creation of multiple draft invoices at the same time, deletions, etc., only considering the amount invoice when one of those invoices is confirmed by storing the invoice's date and delaying the SO's x_last_invoice date field write. In addition, this commit also: - changes the 'to invoice' amount computation by not considering the cancelled SOs anymore. - adds the Consolidated Down Payment action to the partner list view. task-6512188 closes #2902 X-original-commit: 86f4e11 Signed-off-by: Tristan Cazier (trcaz) <trcaz@odoo.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Before this commit, when creating a draft invoice using the custom button Consolidated Down Payment, all the invoice amount was immediately considered invoiced, even if the draft invoice was deleted, with no way of creating another one with said button.
In this commit, we add new fields and an automation on invoice confirmation to allow the creation of multiple draft invoices at the same time, deletions, etc., only considering the amount invoice when one of those invoices is confirmed by storing the invoice's date and delaying the SO's x_last_invoice date field write.
In addition, this commit changes the 'to invoice' amount computation by not considering the cancelled SOs anymore.
task-6512188
Forward-Port-Of: #2889
Forward-Port-Of: #2866