Skip to content

Commit

Permalink
[FIX] Vat con restriccion mexico
Browse files Browse the repository at this point in the history
  • Loading branch information
gam-bmya committed May 28, 2024
1 parent c64ccaf commit cd1f5da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion partner_vat_unique/models/res_partner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cd1f5da

Please sign in to comment.