Commit cfca6086 authored by Patrick's avatar Patrick

call get_on_hold_movement_json instead of on_hold_movement_json

parent 39d8ee76
...@@ -42,6 +42,6 @@ def producer_basket_message_form_ajax(request, pk, uuid): ...@@ -42,6 +42,6 @@ def producer_basket_message_form_ajax(request, pk, uuid):
if producer is None: if producer is None:
raise Http404 raise Http404
to_json = [] to_json = []
producer.on_hold_movement_json(to_json) producer.get_on_hold_movement_json(to_json)
return HttpResponse(json.dumps(to_json, cls=DjangoJSONEncoder), content_type="application/json") return HttpResponse(json.dumps(to_json, cls=DjangoJSONEncoder), content_type="application/json")
raise Http404 raise Http404
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment