2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-21 06:16:29 +00:00

Update translations and PEP fixes

This commit is contained in:
Oliver Walters
2020-10-28 23:59:18 +11:00
parent ed8be5225d
commit 4a7e9a2278
9 changed files with 586 additions and 441 deletions

View File

@ -390,7 +390,6 @@ class Part(MPTTModel):
return conflicts
def getLatestSerialNumber(self):
"""
Return the "latest" serial number for this Part.

View File

@ -447,7 +447,7 @@ class PartDuplicate(AjaxCreateView):
if not confirmed:
msg = _('Possible matches exist - confirm creation of new part')
form.add_error('confirm_creation', msg)
form.add_error('confirm_creation', msg)
form.pre_form_warning = msg
valid = False