Removed a commented line from the txn_store view in the accounting application.

This commit is contained in:
依瑪貓 2020-08-12 21:46:00 +08:00
parent a9c29a6f34
commit 875ff83692

View File

@ -865,7 +865,6 @@ def txn_store(request, txn_type, txn=None):
form = TransactionForm(post)
form.transaction = txn
form.txn_type = txn_type
#form = utils.make_txn_form_from_post(post, txn_type, txn)
if not form.is_valid():
if txn is None:
url = reverse("accounting:transactions.create", args=(txn_type,))