Have a CL company setup Issue an invoice Then generate the credit note via 'Add Credit Note' wizard Add a reason (credit method is locked to 'partial refund') and confirm Error will raise “You can not use a invoice document type with a refund invoice” This occur after https://github.com/odoo/enterprise/commit/9e049b833b23809e4287ef61ddf7482413debefd We now fall back to the logic of l10n_latam_invoice_document which, in turns, fall back to the l10n_cl, ignoring the 'credit_note' case. opw-2794515 closes odoo/odoo#87116 X-original-commit: c9ff9d28ab75c02093ca54d9fbd1d2e203c5ee2e Signed-off-by: Josse Colpaert <jco@odoo.com> Signed-off-by: Grazioso Andrea (agr) <agr@odoo.com>