[FIX]account_edi_ubl : fix finding of partner using vat identification
closes odoo/odoo#69226 X-original-commit: 66c7ee23320c595e71c1183a3bd439530ace13c9 Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
This commit is contained in:
committed by
Benjamin Frantzen (bfr)
parent
ca3dfec135
commit
4da5f2eaba
@@ -101,7 +101,7 @@ class AccountEdiFormat(models.Model):
|
||||
name=_find_value('//cac:AccountingSupplierParty/cac:Party//cbc:Name'),
|
||||
phone=_find_value('//cac:AccountingSupplierParty/cac:Party//cbc:Telephone'),
|
||||
mail=_find_value('//cac:AccountingSupplierParty/cac:Party//cbc:ElectronicMail'),
|
||||
vat=_find_value('//cac:AccountingSupplierParty/cac:Party//cbc:ID'),
|
||||
vat=_find_value('//cac:AccountingSupplierParty/cac:Party//cbc:CompanyID'),
|
||||
)
|
||||
|
||||
# Regenerate PDF
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
</cac:PostalAddress>
|
||||
<cac:PartyLegalEntity>
|
||||
<cbc:RegistrationName>The best supplier</cbc:RegistrationName>
|
||||
<cbc:CompanyID>12345689</cbc:CompanyID>
|
||||
<cbc:CompanyID>477472701</cbc:CompanyID>
|
||||
</cac:PartyLegalEntity>
|
||||
</cac:Party>
|
||||
</cac:AccountingSupplierParty>
|
||||
|
||||
@@ -30,3 +30,4 @@ Denis Robinet denis.robinet@acsone.eu https://github.com/RobinetDenisAcsone
|
||||
Benoit Aimont benoit.aimont@acsone.eu https://github.com/baimont
|
||||
Bejaoui Souheil souheil.bejaoui@acsone.eu https://github.com/sbejaoui
|
||||
Nans Lefebvre nans.lefebvre@acsone.eu https://github.com/len-foss
|
||||
Régis Pirard regis.pirard@acsone.eu https://github.com/regispirard
|
||||
|
||||
Reference in New Issue
Block a user