mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-06 20:11:37 +00:00
PEP fixes
This commit is contained in:
@@ -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