[FW][FIX] l10n_tr_nilvera_einvoice: exclude ID without schemeID
[FIX] l10n_tr_nilvera_einvoice: exclude ID without schemeID
Nilvera expects a <schemeID> with every <ID>. In Odoo currently, we only
support VKN or TCKN as a schemeID that get impacted from the VAT Number.
Also, Nilvera reject any <BuyerReference> tag.
Before:
- The generated XML contains some
<ID>tags without 'schemeID' attribute. - The generated XML contains some
<BuyerReference>tag. After: - The
<ID>tags with no 'schemeID' are removed from the XML. - The
<BuyerReference>tag is removed from the XML.
Task-4822777 runbot: https://runbot.odoo.com/runbot/bundle/18-0-tr-nilvera-partner-ref-override-tax-id-roto-376352
Forward-Port-Of: odoo/odoo#214501
@roto-odoo @malb-odoo this PR targets master and is the last of the forward-port chain containing:
- odoo/odoo#215318
- odoo/odoo#215306
- odoo/odoo#215283
To merge the full chain, use
@robodoo r+
More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port
@roto-odoo @malb-odoo ci/runbot failed on this forward-port PR
@robodoo r+
@malb-odoo you may want to rebuild or fix this PR as it has failed CI.
