Name: Merge from upstream 17 20250304 01

State: Failed finished in 70m

PR State: merged

PR Author: Roy Le

PR Author Email:

PR: #1082

Committer: Roy Le

Committer Email: roy.le@viindoo.com

Commit: 8d1763ee531626fae4eec1546b5933070e9e5c6d

Description:

                                            [FIX] account_payment: test fails in Odoo CE due to
invoice_payment_state mismatch

In Odoo CE, the invoice_payment_state is "paid".
In Odoo Enterprise, the invoice_payment_state is "in_payment".
This causes the test to fail in CE but pass in Enterprise, making the
test unreliable when running in an environment without Enterprise.

Current behavior before PR
Running the test in Odoo CE only → Fails (expects "in_payment", but gets
"paid").
Running the test in Odoo CE + Enterprise → Passes.

Desired behavior after PR is merged
The test should pass in both CE and Enterprise.
The test will no longer check the exact value of invoice_payment_state,
ensuring it remains valid across both versions.

Steps to reproduce
Run the test in an Odoo CE-only environment.
Observe that it fails due to the unexpected invoice_payment_state value.
Run the test in an environment with Enterprise, and see that it passes.
                                            

Branch: 17.0

Instance ID: 0

Age:

Up-time: