Partner Match FR — rapprochement partenaires sur réception PDP
Bridge ropi_fr_einvoicing_partner_match — licence OPL-1 — 50,00 €.
Pourquoi
Lors de la réception d'un document PDP / Peppol UBL/CII, Odoo doit rapprocher le fournisseur avec un res.partner existant. Le socle applique un matching sur email / VAT / name assez générique. En contexte FR, l'ordre correct est SIRET → SIREN → TVA → nom + code postal, avec des fallbacks pour les XML mal formés ou hors annuaire.
Comment le module corrige
- Ajoute des hooks sur les modèles
account.edi.xml.ubl_20,account.edi.xml.cii_facturxetaccount.edi.commonpour extraire les identifiants FR (SIRET, SIREN, TVA) depuis l'XML entrant. - Choisit le partenaire cible en respectant la priorité FR SIRET → SIREN → TVA → nom + CP.
- Paramétrage société : E-Invoice Partner Matching dans les réglages comptables.
Install & test
- DB Docker :
fe_partner_match. - Fiscal country FR obligatoire.
- Tests :
ropi_fr_einvoicing_partner_match/tests/test_partner_match_siret.py. - Prix : 50,00 € OPL-1 — apps.odoo.com.