Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0][FIX] purchase_advance_payment: fix payment_state #2572

Open
wants to merge 1 commit into
base: 14.0
Choose a base branch
from

Conversation

WesleyOliveira98
Copy link

@WesleyOliveira98 WesleyOliveira98 commented Feb 17, 2025

Having an invoice does not necessarily mean that the payment is partial. Changed to when there is account_payment_ids or there is a paid amount on the invoice (invoice_paid_amount)

Creating a draft invoice before the changes:
image

Creating a draft invoice after the changes in this PR:
image

When we confirm and pay the invoice, the status will be updated:
image

Ticket: HT00980

cc: @marcelsavegnago @kaynnan

@WesleyOliveira98 WesleyOliveira98 marked this pull request as ready for review February 17, 2025 15:24
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.

2 participants