Hot: update document.py
This commit is contained in:
parent
ca004130e0
commit
e75c37a8be
1 changed files with 1 additions and 1 deletions
|
|
@ -504,7 +504,7 @@ class Document(BaseDocument):
|
|||
if doc.parentfield:
|
||||
msg = _("Incorrect value in row {0}: {1} must be {2} {3}".format(doc.idx, label, condition_str, val2))
|
||||
else:
|
||||
msg = _("Incorrect value: {1} must be {2} {3}".format(label, condition_str, val2))
|
||||
msg = _("Incorrect value: {0} must be {1} {2}".format(label, condition_str, val2))
|
||||
|
||||
# raise passed exception or True
|
||||
msgprint(msg, raise_exception=raise_exception or True)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue