odoo/odoo#94302

Created by Julien Van Roy (juvr)
Merged at f822b3d6ee787ede26e4043bb63da2ad5c108bcb

Statuses:

label
odoo-dev:14.0-account-edi-ubl-cii-fix-journal-juvr
head
f38b563c409fe00b6627d0836e09d670ddc7000e
merged
3 years ago by Accounting, Laurent Smet (las)
odoo/odoo
14.0 #94302
15.0 #94340
saas-15.1 #94366
saas-15.2 #94368
saas-15.3 #94370
saas-15.4 #94371
16.0
17.0
18.0
saas-18.2
saas-18.3
saas-18.4
19.0
master #94376

[FIX] account_edi_ubl_cii: fix edi options on journal

In 14.0, _is_enabled_by_default_on_journal does not exist, thus
every edi.format is enabled by default. This commit allows to only
have facturx enabled by default.

In addition, we only want the edi.format options to appear
on the sale journals (out_invoice, out_refund).

Finally, the warnings are no longer displayed on top of the invoice.