Browse Source

[FIX] partver_vat_unique: Avoid formatting error due to missing parenthesis

12.0
Sergio Teruel 4 years ago
parent
commit
d4a7ef76ad
  1. 4
      partner_vat_unique/models/res_partner.py

4
partner_vat_unique/models/res_partner.py

@ -31,9 +31,9 @@ class ResPartner(models.Model):
("company_id", "=", False), ("company_id", "=", False),
("company_id", "=", record.company_id.id), ("company_id", "=", record.company_id.id),
]): ]):
raise ValidationError(_(
raise ValidationError((_(
"The VAT %s already exists in another " "The VAT %s already exists in another "
"partner." "partner."
) + " " + _( ) + " " + _(
"NOTE: This partner may be archived." "NOTE: This partner may be archived."
) % record.vat)
)) % record.vat)
Loading…
Cancel
Save