[IMP] account_move: hide due date when relevant - #5210
Draft
gato-odoo wants to merge 2 commits into
Draft
Conversation
When viewing a list of invoices or bills, their due date (`invoice_date_due`) is shown. This information is not useful for cancelled invoices. Therefore, it should be hidden for cancelled invoices.
|
This PR targets the un-managed branch odoo-dev/odoo:19.0-onboarding-august-malb, it needs to be retargeted before it can be merged. |
SaddemAmine
approved these changes
Aug 4, 2026
SaddemAmine
left a comment
There was a problem hiding this comment.
Good stuff, left you a little nitpick
BTW we also include the task ID in the commit message usually, helps keeping things tidy!
Thankss
Co-authored-by: Amine <47611308+SaddemAmine@users.noreply.github.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.
When viewing a list of invoices or bills, their due date (
invoice_date_due) is shown.This information is not useful for cancelled invoices.
Therefore, it should be hidden for cancelled invoices.
before:

after:

task-6438904