Skip to Content

Name: Merged from upstream 19 261018 01

State: Failed finished in 205m

PR State: merged

PR Author: David Tran

PR Author Email:

PR: #1312

Committer: David Tran

Committer Email: david.tran@tvtmarine.com

Commit: 992e84c8b4c19fddbf78419e2b6516b5c46e9a08

Description:

                                            [FIX] account_edi_ubl_cii: prevent deferred tests crash on Community

test_invoice_deferred_dates_with_delivery_date,
test_invoice_deferred_dates_on_some_lines and
test_invoice_deferred_dates_on_some_lines_with_delivery_date create
invoice lines with deferred_start_date/deferred_end_date, but only the
Enterprise addon account_accountant defines them. Without it installed,
they crashed with "Invalid field" on every Community build instead of
being skipped.

Guard each with ensure_installed("account_accountant"), the same idiom
already used by test_invoice_deferred_dates.

Signed-off-by: David Tran <david.tran@tvtmarine.com>
(cherry picked from commit 5e828c61ed0f222af0f195d46fb2b34e53888bc0)
                                            

Branch: 19.0

Age:

Up-time: