Skip to Content

Merged from upstream 19 260915 01

Killed 110m merged
PR
#1282
PR Author
David Tran
Committer
David Tran
Commit
7f8ce6a6c2bf
Branch
19.0
Age
Up-time
Commit message
[FIX] account_edi_ubl_cii: prevent deferred test crash on Community

test_invoice_deferred_dates sets invoice.line fields
deferred_start_date/deferred_end_date on the new line's create-vals,
but only the Enterprise addon account_accountant defines them.
Without it installed, the test crashed on every Community build
instead of being skipped.

Guard it with ensure_installed("account_accountant"), the same idiom
already used four times elsewhere in this file, since the fields
belong to the Enterprise deferred-revenue feature and are absent
here by design.

Signed-off-by: David Tran <david.tran@tvtmarine.com>