Skip to content

Conversation

@jugurtha-gaci
Copy link

@jugurtha-gaci jugurtha-gaci commented Nov 6, 2025

The payment due date field should not be visible on invoices and vendor bills that are in a 'canceled' state.

Previously, this information remained displayed, which could confuse users as no payment is expected for a canceled document.

This PR makes the 'invoice_date_due' field invisible if the move 'state' is 'cancel' in both Vendor Bills and Customer invoices views.

task-5231309


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@robodoo
Copy link

robodoo commented Nov 6, 2025

This PR targets the un-managed branch odoo-dev/odoo:18.0-rd-accounting-onboarding-malb, it needs to be retargeted before it can be merged.

Copy link

@malb-odoo malb-odoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for the commits 😄 Delete the useless one and add a commit description to the one you keep 😄

The payment due date field should not be visible on invoices and vendor bills that are in a 'canceled' state.

Previously, this information remained displayed, which could confuse users as no payment is expected for a canceled document.

This commit makes the 'invoice_date_due' field invisible if the move 'state' is 'cancel' in both Vendor Bills and Customer invoices views.

task-5231309
@jugurtha-gaci jugurtha-gaci force-pushed the 18.0-rd-accounting-onboarding-invisible-due-date-jugac branch from e676b94 to 1b3d05a Compare November 10, 2025 10:04
@jugurtha-gaci jugurtha-gaci changed the title [IMP] account: make due date invisible for cancelled invoices [IMP] account: hide due date for canceled invoices and bills Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants