Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
ba984631 by Hartmut Goebel at 2024-02-16T09:51:05+01:00
Handle SOAP errors in EU Check Vies service

When introducing CheckVIES wizard in 7c90d7100f10, it was based on module
'vatnumbers' which returned an XML tree where we needed to pick the
'faultstring' from.
Since aeb2d1398456 it uses 'stdnum', which uses either 'zeep', 
'suds' or
'pysimplesoap' as backend, all of which provide the faultstring in the
exception arguments. Unfortunately 'suds' puts it into 
'args[1]', thus a loop
is required.

Also add missing error-codes from EU Check Vies service.

Closes #11147
- - - - -


1 changed file:

- modules/party/party.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/ba984631ca3583c978f0d89af3ddd7fa8fed3c70

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/ba984631ca3583c978f0d89af3ddd7fa8fed3c70
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to