Commit Graph

4 Commits

Author SHA1 Message Date
Jairo Llopis
8f225d8aa3 [FIX] base_vat_optional_vies: don't block mass checks
The whole point of this module is to allow VIES failures. However, when running mass checks, if one single partner failed, the whole process had to start again.

FWIW that can be also problematic due to rate limits in VIES service. For that same reason, we now skip partners that are validated already, and those that are will inherit the status from their parent anyway.

Now, the process will just continue and report failures at the end.

It includes new tests, removes dead code, and reduces pre-existing tests verbosity.

@moduon MT-7763
2024-11-12 11:36:20 +00:00
rodrigo
522476d2d3 [MIG] base_vat_optional_vies: Migration to 11.0 2023-01-31 14:33:41 +01:00
Sergio Teruel Albert
36106a4d8a [FIX] Some fixes:
* base_vat_optional_vies: Fix pass lower country code in _split_vat function to find parent function check_vat_'xx' instead of check_vat_'XX'
  * base_vat_optional_vies: Convert to upper when write NIF into database
2023-01-31 14:33:41 +01:00
Antonio Espinosa
6ba2b16969 [ADD] base_vat_optional_vies
* Disable VIES test
  * Fixes to avoid exception when using default _construct_constraint_msg method
2023-01-31 14:33:41 +01:00