mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 20:45:44 +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