Commit Graph

16 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
Emilio Pascual
0dc84e32b1 [16.0][IMP] Wizard to calculate vies_passed in all partners
This is the forward port of https://github.com/OCA/account-financial-tools/pull/1716

MT-1044 @moduon
2023-09-18 09:20:43 +02:00
Emilio Pascual
fe7e10794f [15.0][IMP] base_vat_optional_vies: vies sync in children contact
- Wizard in settings to update vies_passed field after activate check vies.
2023-09-15 10:29:05 +02:00
Rodrigo
604871bb9f [REF] base_vat_optional_vies: refactor the code to make it valid for the change eff3b140cc 2023-01-31 14:33:41 +01:00
Rodrigo
46303c4677 [MIG] base_vat_optional_vies: Migration to 16.0 2023-01-31 14:33:41 +01:00
Eduardo De Miguel
bdc3bf61f8 [FIX] Simple VAT error message, always clean vies_passed field
- Simple VAT error message when an error must be shown
- Always clean vies_passed field when check_vat is called

[FIX] tests

[FIX] Contributor emails
2023-01-31 14:33:41 +01:00
AaronHForgeFlow
0dc3b1e965 [15.0][FIX] base_vat_optional_vies: ensure vies check do not block contact update 2023-01-31 14:33:41 +01:00
Usdoo Wedoo
58a2a683ec [MIG] base_vat_optional_vies: Migration to 14.0 2023-01-31 14:33:41 +01:00
Harald Panten
8d7894e98e [MIG]base_vat_optional_vies: Migration to 13.0 2023-01-31 14:33:41 +01:00
Harald Panten
a2c0fc4701 [IMP] base_vat_optional_vies: black, isort, prettier 2023-01-31 14:33:41 +01:00
Alexandre Díaz
9450bbd1df [FIX] base_vat_optional_vies: Remove contraints on dotted names 2023-01-31 14:33:41 +01:00
Alexandre Díaz
252a7bbdb1 [MIG] base_vat_optional_vies: Migration to 12.0 2023-01-31 14:33:41 +01:00
rodrigo
522476d2d3 [MIG] base_vat_optional_vies: Migration to 11.0 2023-01-31 14:33:41 +01:00
David Vidal
324aa9e130 [MIG] base_vat_optional_vies: Migration to 10.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