From 9cfdf4798dd867648797bf5cf7c2f192cbe2182c Mon Sep 17 00:00:00 2001 From: Skia Date: Mon, 29 Aug 2016 20:13:53 +0200 Subject: [PATCH] Fix OperationEditView --- accounting/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounting/views.py b/accounting/views.py index 429af411..f4b943fd 100644 --- a/accounting/views.py +++ b/accounting/views.py @@ -294,7 +294,7 @@ class OperationEditView(CanEditMixin, UpdateView): def get_context_data(self, **kwargs): """ Add journal to the context """ - kwargs = super(OperationCreateView, self).get_context_data(**kwargs) + kwargs = super(OperationEditView, self).get_context_data(**kwargs) kwargs['object'] = self.object.journal return kwargs