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