diff --git a/partner_vat_unique/models/res_partner.py b/partner_vat_unique/models/res_partner.py index 0bcf97dc965f..33293d18ff12 100644 --- a/partner_vat_unique/models/res_partner.py +++ b/partner_vat_unique/models/res_partner.py @@ -20,7 +20,7 @@ def _check_vat_unique(self): test_condition = config["test_enable"] and not self.env.context.get( "test_vat" ) - rut = {'66666666-6', 'xaxx010101000', 'XEXX010101000'} + rut = {'66666666-6', 'XAXX010101000', 'XEXX010101000'} rut_set = set(rut) # Create a set directly from the dictionary elements if record.vat in rut_set: