[ADD] l10n_es_edi_tbai_reagyp_recibidas: fix REAGYP vendor bill regime key

Native l10n_es_edi_tbai hardcodes ClaveRegimenIvaOpTrascendencia '19' for
REAGYP vendor bills, but '19' only exists in the issued-invoices book. The
Batuz LROE schema for received invoices rejects it (cvc-enumeration-valid),
where the valid REAGYP-compensation key is '02'.

Override _l10n_es_tbai_get_vendor_bill_values_batuz to remap 19 -> 02.
Upstream: https://github.com/odoo/odoo/pull/266214

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
GitHub Copilot 2026-05-25 14:12:16 +02:00
parent eb515c28e1
commit 66a5e31060
5 changed files with 85 additions and 0 deletions

View file

@ -0,0 +1 @@
from . import models # noqa: F401