Added the missing record sorting to the make_form_from_post() method of the transaction form view in the accounting application.
This commit is contained in:
parent
dddc27402e
commit
2af34f40e0
@ -823,6 +823,7 @@ class TransactionFormView(FormView):
|
||||
|
||||
def make_form_from_post(self, post: Dict[str, str]) -> TransactionForm:
|
||||
"""Creates and returns the form from the POST data."""
|
||||
utils.sort_post_txn_records(post)
|
||||
form = TransactionForm(post)
|
||||
form.txn_type = self.txn_type
|
||||
form.transaction = self.object
|
||||
|
Loading…
Reference in New Issue
Block a user