mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-22 07:55:07 +00:00
PEP fixes
This commit is contained in:
1 parent
e5fa94b4f8
commit
2c9b112562
6 files changed
+17
-7
No files matched your search
@@ -412,7 +412,7 @@ class SalesOrderCancel(AjaxUpdateView):
|
||||
valid = False
|
||||
|
||||
if not confirm:
|
||||
forms.errors['confirm'] = [_('Confirm order cancellation')]
|
||||
form.errors['confirm'] = [_('Confirm order cancellation')]
|
||||
else:
|
||||
valid = True
|
||||
|
||||
|
||||
Reference in new issue
Block a user