From 9f70fff8139f4edd42f72caf4daf449b778807f8 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 2 May 2019 20:58:33 +1000 Subject: [PATCH] Added docstring --- InvenTree/InvenTree/helpers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/InvenTree/InvenTree/helpers.py b/InvenTree/InvenTree/helpers.py index 605cc5cfb6..2843dc4eb8 100644 --- a/InvenTree/InvenTree/helpers.py +++ b/InvenTree/InvenTree/helpers.py @@ -51,6 +51,7 @@ def MakeBarcode(object_type, object_id, object_url, data={}): Args: object_type: string describing the object type e.g. 'StockItem' + object_id: ID (Primary Key) of the object in the database object_url: url for JSON API detail view of the object data: Python dict object containing extra datawhich will be rendered to string (must only contain stringable values)