Browse Source

Merge PR #939 into 12.0

Signed-off-by pedrobaeza
12.0
OCA-git-bot 5 years ago
parent
commit
b3e084b90a
  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", "=", record.company_id.id),
]):
raise ValidationError(_(
raise ValidationError((_(
"The VAT %s already exists in another "
"partner."
) + " " + _(
"NOTE: This partner may be archived."
) % record.vat)
)) % record.vat)
Loading…
Cancel
Save